<template><div><h2 id="yii-framework-2-更新日志" tabindex="-1"><a class="header-anchor" href="#yii-framework-2-更新日志"><span>Yii Framework 2 更新日志</span></a></h2>
<h2 id="_2-0-48-1-2023-05-24" tabindex="-1"><a class="header-anchor" href="#_2-0-48-1-2023-05-24"><span>2.0.48.1 （2023-05-24）</span></a></h2>
<ul>
<li>Bug #19847: Fix regression introduced in #15376 that caused <code v-pre>DbManager::getRolesByUser()</code> to return stale data (michaelarnauts)</li>
</ul>
<h2 id="_2-0-48-2023-05-22" tabindex="-1"><a class="header-anchor" href="#_2-0-48-2023-05-22"><span>2.0.48 （2023-05-22）</span></a></h2>
<h3 id="bug" tabindex="-1"><a class="header-anchor" href="#bug"><span>Bug</span></a></h3>
<ul>
<li>Bug #15376: Added $userId for RBAC roles cache (manchenkoff)</li>
<li>Bug #17194: Fix unnecessary SQL updates in the database on attributes typecast via <code v-pre>yii\behaviors\AttributeTypecastBehavior</code> (aivchen)</li>
<li>Bug #18867: Fixed multiple issues with <code v-pre>yii\grid\CheckboxColumn</code>: “check all” checkbox not being checked on page load when all data row checkboxes are initially checked; clicking checkboxes triggered “change” event for other checkboxes that do not change their state; “check all” checkbox not being checked when disabled checkboxes are present and clicking last non-checked data row checkbox (PowerGamer1)</li>
<li>Bug #19635: PHP 8.2 compatibility fix for <code v-pre>yii\validators\DateValidator</code> (PowerGamer1)</li>
<li>Bug #19683: Updated <code v-pre>framework\mimeType.php</code> to the actual value. Fix typo in <code v-pre>build/controllers/MimeTypeController.php</code> (DeryabinSergey)</li>
<li>Bug #19693: Fix db/Command not caching <code v-pre>NULL</code> result with scalar fetchMode (Arkeins)</li>
<li>Bug #19705: Add binary and other data types to <code v-pre>$typeMap</code> list for MySQL (sohelahmed7)</li>
<li>Bug #19712: Cast shell_exec() output to string for jsCompressor (impayru)</li>
<li>Bug #19720: Fix “zh-HK” locale causing [error][yii\i18n\PhpMessageSource::loadFallbackMessages] The message file for category ‘yii’ doesn’t exist (uaoleg)</li>
<li>Bug #19731: Fix <code v-pre>yii\data\Sort</code> to generate a proper link when multisort is on and attribute has a default sort order set (bizley)</li>
<li>Bug #19734: PHP 8.1 compatibility fix for <code v-pre>$query-&gt;orderBy(null)</code> (uaoleg)</li>
<li>Bug #19735: Fix <code v-pre>yii\validators\NumberValidator</code> to use a programmable message for the value validation (bizley)</li>
<li>Bug #19736: Fix <code v-pre>StringHelper::truncate(null, 10)</code> causes error <code v-pre>Deprecated: mb_strlen(): Passing null to parameter #1 ($string) of type string is deprecated</code> (uaoleg)</li>
<li>Bug #19743: Non-associative array values in AR weren’t considered dirty when reordered (samdark)</li>
<li>Bug #19749: Add PHP 8.2 support (samdark, schmunk42, aldok10, DanaLuther)</li>
<li>Bug #19770: Fix <code v-pre>yii\mutex\MysqlMutex</code> <code v-pre>keyPrefix</code> expression param binding (kamarton)</li>
<li>Bug #19795: Fix <code v-pre>yii\web\Response::redirect()</code> to prevent setting headers with URL containing new line character (bizley)</li>
<li>Bug #19807: Fix REST serializer not using <code v-pre>serializeModel()</code> when working with an array of models (zucha)</li>
<li>Bug #19813: Fix <code v-pre>yii\base\DynamicModel</code> validation with validators that reference missing attributes (michaelarnauts)</li>
<li>Bug #19828: Fix “strtr(): Passing null to parameter #1 ($string) of type string is deprecated” (uaoleg)</li>
<li>Bug #19837: Fixed processing of numeric file extensions in <code v-pre>yii\build\controllers\MimeTypeController::generateMimeTypesFile()</code> (rhertogh)</li>
</ul>
<h3 id="改进" tabindex="-1"><a class="header-anchor" href="#改进"><span>改进</span></a></h3>
<ul>
<li>
<p>Enh #9740: Usage of DI instead of new keyword in Schemas (manchenkoff)</p>
</li>
<li>
<p>Enh #15376: Added cache usage for <code v-pre>yii\rbac\DbManager::getRolesByUser()</code> (manchenkoff)</p>
</li>
<li>
<p>Enh #19689: Remove empty elements from the <code v-pre>class</code> array in <code v-pre>yii\helpers\BaseHtml::renderTagAttributes()</code> to prevent unwanted spaces (MoritzLost)</p>
</li>
<li>
<p>Enh #19741: Added option to use a closure for <code v-pre>$variations</code> definition in <code v-pre>yii\filters\PageCache</code> (nadar)</p>
</li>
<li>
<p>Enh #19766: Add support for PHP generators to JSON helper (vladis84)</p>
</li>
<li>
<p>Enh #19794: Add caching in <code v-pre>yii\web\Request</code> for <code v-pre>getUserIP()</code> and <code v-pre>getSecureForwardedHeaderTrustedParts()</code> (rhertogh)</p>
</li>
<li>
<p>Enh #19804: Remove the unnecessary call to <code v-pre>$this-&gt;oldAttributes</code> in <code v-pre>BaseActiveRecord::getDirtyAttributes()</code> (thiagotalma)</p>
</li>
<li>
<p>Enh #19816: Explicitly pass <code v-pre>$fallbackToMaster</code> as <code v-pre>true</code> to <code v-pre>getSlavePdo()</code> to ensure it isn’t affected by child class with changed defaults (developedsoftware)</p>
</li>
<li>
<p>Enh #19838: Added <code v-pre>yii\helpers\BaseFileHelper::getExtensionByMimeType()</code> to get the most common extension for a given MIME type (rhertogh)</p>
</li>
<li>
<p>Chg #19696: Change visibility of <code v-pre>yii\web\View::isPageEnded</code> to <code v-pre>protected</code> (lubosdz, samdark)</p>
<h2 id="_2-0-47-2022-11-18" tabindex="-1"><a class="header-anchor" href="#_2-0-47-2022-11-18"><span>2.0.47（2022-11-18）</span></a></h2>
</li>
</ul>
<h3 id="bug-1" tabindex="-1"><a class="header-anchor" href="#bug-1"><span>Bug</span></a></h3>
<ul>
<li>Bug #12636: Fix CompareValidator successful state when compareAttribute has an error (manchenkoff)</li>
<li>Bug #14388: Fixed fixture loading order in output message (manchenkoff)</li>
<li>Bug #15500: Fix saving empty records to MySQL (manchenkoff)</li>
<li>Bug #15557: Fix empty fields exclusion in safe attributes of <code v-pre>yii\base\Model</code> (manchenkoff)</li>
<li>Bug #16658: Fix file readability check on publishing assets by <code v-pre>yii\web\AssetManager</code> (manchenkoff)</li>
<li>Bug #19316: Fix MysqlMutex with same connection but difference database (kamarton)</li>
<li>Bug #19507: Fix eager loading of nested one-to-many relations (spo0okie)</li>
<li>Bug #19508: Fix wrong selection for boolean attributes in GridView (alnidok)</li>
<li>Bug #19517: Fix regression in <code v-pre>CompositeAuth::authenticate()</code> introduced in #19418 (WinterSilence)</li>
<li>Bug #19520: Fix for TIMESTAMP &amp; ROWVERSION columns in MSSQL insert query (darkdef)</li>
<li>Bug #19530: Fix specifying the field id for <code v-pre>yii\widgets\ActiveField</code> (kv4nt)</li>
<li>Bug #19534: Fix <code v-pre>yii\helpers\BaseHtml::renderSelectOptions()</code> to properly render boolean selection (bizley)</li>
<li>Bug #19537: Fix default expression detection for MariaDB <code v-pre>date</code> and <code v-pre>time</code> columns (bizley)</li>
<li>Bug #19546: Reverted #19309 (bizley)</li>
<li>Bug #19581: Fix regression in <code v-pre>CompositeAuth</code> introduced in #19418 (SamMousa, WinterSilence, samdark)</li>
<li>Bug #19589: Fix Error reporting in to the <code v-pre>BaseArrayHelper::getValue()</code> (lav45)</li>
<li>Bug #19670: Fix Error null check PHP 8.1 <code v-pre>yii\rbac\DbManager</code> (samuelexyz)</li>
</ul>
<h3 id="chg" tabindex="-1"><a class="header-anchor" href="#chg"><span>Chg</span></a></h3>
<ul>
<li>Chg #17811: Do not reset <code v-pre>retryHandler</code> when <code v-pre>yii\db\Command::reset()</code> called (erickskrauch)</li>
<li>Chg #19354: Reuse <code v-pre>Validator::getAttributeNames()</code> in <code v-pre>AttributeTypecastBehavior::detectAttributeTypes()</code> (WinterSilence)</li>
</ul>
<h2 id="_2-0-46-2022-08-18" tabindex="-1"><a class="header-anchor" href="#_2-0-46-2022-08-18"><span>2.0.46（2022-08-18）</span></a></h2>
<h3 id="bug-2" tabindex="-1"><a class="header-anchor" href="#bug-2"><span>Bug</span></a></h3>
<ul>
<li>Bug #19235: 修复了 PHP 8.1 中 <code v-pre>yii\web\SessionIterator</code> 类方法的返回类型兼容性 (virtual-designer)</li>
<li>Bug #19237: 修复了 OCI PHP 8.1 向trim() 传递 <code v-pre>null</code> 的问题 (longthanhtran)</li>
<li>Bug #19243: 在 PHP 8.1 中，针对 tar.xz 处理 <code v-pre>finfo_open</code> 会作为 <code v-pre>application/octet-stream</code> (longthanhtran)</li>
<li>Bug #19256: 在 <code v-pre>yii\validators\InlineValidator::clientValidateAttribute()</code> 中传递缺失的 <code v-pre>$view</code> 给 用户的回调 (WinterSilence)</li>
<li>Bug #19259: 修复 <code v-pre>yii\log\FileTarget</code> 锁定时，总是通过复制来轮询文件 (bizley, mikehaertl)</li>
<li>Bug #19272: 修复了在多维数组中检查脏属性的错误 (speedplli)</li>
<li>Bug #19291: 在 <code v-pre>yii\base\Model::__clone()</code> 中重置错误和验证器 (WinterSilence)</li>
<li>Bug #19303: 在 <code v-pre>yii\caching\Dependency::generateReusableHash()</code> 中修复了序列化 (WinterSilence)</li>
<li>Bug #19312: 修复 PHP 8.1 中，当传递 <code v-pre>null</code> 给 <code v-pre>yii\helpers\BaseInflector</code> 中时的错误 (WinterSilence)</li>
<li>Bug #19322: 恢复在 <code v-pre>yii\validators\FilterValidator::validateAttribute()</code> 中，当值为 <code v-pre>null</code> 时，强制设置它为空字符串 (bizley)</li>
<li>Bug #19324: 修复 <code v-pre>yii\helpers\BaseHtml::renderSelectOptions()</code> 对布尔属性给出错误的选择 (adnandautovic)</li>
<li>Bug #19328: Passing null to parameter #1 ($string) of type string is deprecated in <code v-pre>yii\db\oci\Schema</code> (Arkeins)</li>
<li>Bug #19329: Fix <code v-pre>yii\web\GroupUrlRule</code> to properly normalize prefix (bizley)</li>
<li>Bug #19349: 修复 PHP 8.1 下，当 <code v-pre>yii\grid\DataColumn</code> 的 attribute 和 label 值为空时的错误 (githubjeka)</li>
<li>Bug #19368: 修复 PHP 8.1 下，在 <code v-pre>yii\validators\FileValidator::validateMimeType()</code> 中， 当 <code v-pre>$fileMimeType</code> 为 <code v-pre>null</code> 时的错误 (bizley)</li>
<li>Bug #19380: 修复了 PHP 8.1 下，在 <code v-pre>yii\db\Query</code> 中向 trim() 传递非字符串的问题 (wa1kb0y)</li>
<li>Bug #19386: 修复 递归调用 <code v-pre>yii\helpers\BaseArrayHelper::htmlDecode()</code> (WinterSilence)</li>
<li>Bug #19400: 修复在 <code v-pre>yii\web\Response::redirect()</code> 中传 null (bizley)</li>
<li>Bug #19402: 在 <code v-pre>yii\base\ErrorHandler</code> 中，新增 shutdown 事件，并修复工作目录 (WinterSilence)</li>
<li>Bug #19403: 修复在 <code v-pre>yii\web\SessionIterator</code> 中的 types (WinterSilence)</li>
<li>Bug #19407: 修复 <code v-pre>yii\validators\UniqueValidator</code> 和 <code v-pre>yii\validators\ExistValidator</code> 针对目标属性，遵循 <code v-pre>skipOnError</code> 选项 (bizley)</li>
<li>Bug #19418: 修复 <code v-pre>yii\filters\auth\CompositeAuth</code> 忽略 <code v-pre>only</code> 和 <code v-pre>except</code> 选项 (lesha724)</li>
<li>Bug #19445: 修复在 <code v-pre>yii\i18n\Formatter::getUnitMessage()</code> 中缓存 (WinterSilence)</li>
<li>Bug #19454: 修复 PDO 异常代码没有正确地传给 <code v-pre>yii\db\Exception</code> (Roguyt)</li>
<li>Bug #19462: 修复验证器客户端选项来 encode HTML 标签 (bizley)</li>
<li>Bug #19467: 恢复在 #19204 中引入的 <code v-pre>Inflector::camel2words()</code> 中的更改 (samdark)</li>
<li>Bug #19469: 修复了在 <code v-pre>\yii\db\ActiveRelationTrait</code> 中，由于新的 isset 检查而导致虚拟关系不工作的问题 (wvanheumen)</li>
<li>Bug #19471: 使用禁用的 <code v-pre>exec()</code> 函数启用主机上的控制台命令 (WinterSilence, lubosdz)</li>
<li>Bug #19477: 将 <code v-pre>shell_exec()</code> 输出转化为字符串 (schmunk42)</li>
<li>Bug #19481: 当处理致命错误时，ErrorHandler 中的异常总是空的 (Renkas)</li>
</ul>
<h3 id="改进-1" tabindex="-1"><a class="header-anchor" href="#改进-1"><span>改进</span></a></h3>
<ul>
<li>Enh #19254: 支持为 <code v-pre>yii.validation.trim()</code> 指定自定义的字符，并替代弃用的 <code v-pre>jQuery.trim()</code> (WinterSilence)</li>
<li>Enh #19270: 替换在 <code v-pre>yii\web\AssetConverter::$commands</code> 中已弃用的 <code v-pre>scss</code> 转换器 (WinterSilence)</li>
<li>Enh #19295: 为 mime-type <code v-pre>application/rtf</code> 新增别名 <code v-pre>text/rtf</code> (lesha724)</li>
<li>Enh #19304: 新增过滤验证器 <code v-pre>yii\validators\TrimValidator</code> (WinterSilence)</li>
<li>Enh #19308: 新增 <code v-pre>yii\web\UploadedFile::$fullPath</code> 来表示在 PHP 8.1 新增的 ‘full_path’ 键 (WinterSilence)</li>
<li>Enh #19309: 优化 <code v-pre>yii\base\Model::attributes()</code> (WinterSilence)</li>
<li>Enh #19318: 新增对 PHP 8.1 枚举类型转换的支持 (EtienneBruines)</li>
<li>Enh #19384: 在 <code v-pre>yii\web\Request</code> 中对 <code v-pre>setBodyParams()</code> 和 <code v-pre>getBodyParam()</code> 标准化处理 (WinterSilence, albertborsos)</li>
<li>Enh #19401: 在 <code v-pre>yii\base\ErrorHandler::handleFatalError</code> 中延迟 <code v-pre>exit(1)</code> (arrilot)</li>
<li>Enh #19416: 为 <code v-pre>yii\console\controllers\MessageController</code> 更新和改进配置 (WinterSilence)</li>
<li>Enh #19420: 更新在 <code v-pre>yii\widgets\MaskedInput</code> 中的 JS 回调函数列表 (WinterSilence)</li>
<li>Enh #19437: 在 <code v-pre>\yii\web\Request::getServerPort()</code> 中，新增通过可信代理指定请求端口的支持 (rhertogh)</li>
</ul>
<h2 id="_2-0-45-2022-02-11" tabindex="-1"><a class="header-anchor" href="#_2-0-45-2022-02-11"><span>2.0.45（2022-02-11）</span></a></h2>
<h3 id="bug-3" tabindex="-1"><a class="header-anchor" href="#bug-3"><span>Bug</span></a></h3>
<ul>
<li>Bug <a href="https://github.com/yiisoft/yii2/issues/19004" target="_blank" rel="noopener noreferrer">#19004</a>： <code v-pre>yii\di\Container::resolveCallableDependencies()</code> 不能处理 <a href="https://www.php.net/manual/zh/language.types.declarations.php#language.types.declarations.composite.union" title="联合类型" target="_blank" rel="noopener noreferrer">联合类型（PHP8.0）</a> 和 <a href="https://www.php.net/manual/zh/language.types.declarations.php#language.types.declarations.composite.intersection" title="交集类型" target="_blank" rel="noopener noreferrer">交集类型（PHP8.1）</a>（<a href="https://github.com/sartor" title="sartor" target="_blank" rel="noopener noreferrer">sartor</a>）</li>
<li>Bug #19041：解决 PHP 8.1 问题 (longthanhtran, samdark, pamparam83, sartor, githubjeka)</li>
<li>Bug #19047：解决在 <code v-pre>db\mysql\Schema.php</code>中，deprecated preg_match() passing null parameters #2 (longthanhtran)</li>
<li>Bug #19130: 解决 DbSession 在某些情况下不能使用 (longthanhtran)</li>
<li>Bug #19138: 在国际化中，允许在带数字的语言编码，如 ‘en-150（英语（欧洲））’ (ntesic)</li>
<li>Bug #19148: 解决在 <code v-pre>yii\db\ActiveRelationTrait</code>中的 undefined array key 错误 (stevekr)</li>
<li>Bug #19182: RBAC Migration failed when use oracle with oci8 (Murolike)</li>
<li>Bug #19187: Fix <code v-pre>yii\filters\PageCache</code> to store original headers names instead of normalized ones (bizley)</li>
<li>Bug #19191: Change <code v-pre>\Exception</code> to <code v-pre>\Throwable</code> in <code v-pre>BadRequestHttpException</code> and <code v-pre>HttpException</code> (Dmitrijlin)</li>
<li>Bug #19204：在 <code v-pre>Inflector::camel2words</code> 中，支持 <code v-pre>numbers</code> (longthanhtran)</li>
</ul>
<h3 id="改进-2" tabindex="-1"><a class="header-anchor" href="#改进-2"><span>改进</span></a></h3>
<ul>
<li>Enh #18821: 在 <code v-pre>yii\db\conditions\InBuilder</code> 中，允许 <code v-pre>yii\db\ExpressionInterface</code> 作为列使用 (ntesic)；</li>
<li>Enh #19171: 为了方便配置，在 <code v-pre>\yii\rest\IndexAction</code> 中，新增了 <code v-pre>$pagination</code> 和 <code v-pre>$sort</code> 两个属性 (rhertogh)。</li>
</ul>
<h2 id="_2-0-44-2021-12-30" tabindex="-1"><a class="header-anchor" href="#_2-0-44-2021-12-30"><span>2.0.44（2021-12-30）</span></a></h2>
<ul>
<li>Bug #17119: 修复 <code v-pre>yii\caching\Cache::multiSet()</code> 在没有传参 duration 时使用 <code v-pre>yii\caching\Cache::$defaultDuration</code> 的问题 (OscarBarrett)</li>
<li>Bug #18646: Remove stale identity data from session if <code v-pre>IdentityInterface::findIdentity()</code> returns <code v-pre>null</code> (mikehaertl)</li>
<li>Bug #18660: Fix database migration template does not work with namespaced migrations when migration name does not include namespace (iridance)</li>
<li>Bug #18798: Fix <code v-pre>StringHelper::dirname()</code> when passing string with a trailing slash (perlexed)</li>
<li>Bug #18832: Fix <code v-pre>Inflector::camel2words()</code> adding extra spaces (brandonkelly)</li>
<li>Bug #18842: Fix <code v-pre>yii\base\Controller::bindInjectedParams()</code> to not throw error when argument of <code v-pre>ReflectionUnionType</code> type is passed (bizley)</li>
<li>Bug #18845: Fix duplicating <code v-pre>id</code> in <code v-pre>MigrateController::addDefaultPrimaryKey()</code> (WinterSilence, samdark)</li>
<li>Bug #18880: Fix <code v-pre>yii\helpers\ArrayHelper::toArray()</code> for <code v-pre>DateTime</code> objects in PHP &gt;= 7.4 (rhertogh)</li>
<li>Bug #18883: Fix <code v-pre>yii\web\HeaderCollection::fromArray()</code> now ensures lower case keys (rhertogh)</li>
<li>Bug #18898: Fix <code v-pre>yii\helpers\Inflector::camel2words()</code> to work with words ending with 0 (michaelarnauts)</li>
<li>Bug #18909: Fix bug with binding default action parameters for controllers (bizley)</li>
<li>Bug #18913: Add filename validation for <code v-pre>MessageSource::getMessageFilePath()</code> (uaoleg)</li>
<li>Bug #18955: Check <code v-pre>yiisoft/yii2-swiftmailer</code> before using as default mailer in <code v-pre>yii\base\Application</code> (WinterSilence)</li>
<li>Bug #18988: Fix default value of <code v-pre>yii\console\controllers\MessageController::$translator</code> (WinterSilence)</li>
<li>Bug #18993: Load defaults by <code v-pre>attributes()</code> in <code v-pre>yii\db\ActiveRecord::loadDefaultValues()</code> (WinterSilence)</li>
<li>Bug #19021: Fix return type in PhpDoc <code v-pre>yii\db\Migration</code> functions <code v-pre>up()</code>, <code v-pre>down()</code>, <code v-pre>safeUp()</code> and <code v-pre>safeDown()</code> (WinterSilence, rhertogh)</li>
<li>Bug #19030: Add DI container usage to <code v-pre>yii\base\Widget::end()</code> (papppeter)</li>
<li>Bug #19031: Fix displaying console help for parameters with declared types (WinterSilence)</li>
<li>Bug #19096: Fix <code v-pre>Request::getIsConsoleRequest()</code> may return erroneously when testing a Web application in Codeception (WinterSilence)</li>
<li>Enh #13105: Add yiiActiveForm <code v-pre>validate_only</code> property for skipping form auto-submission (ptolomaues)</li>
<li>Enh #18328: Raise warning when trying to register a file after <code v-pre>View::endPage()</code> has been called (perlexed)</li>
<li>Enh #18762: Add <code v-pre>yii\helpers\Json::$keepObjectType</code> and <code v-pre>yii\web\JsonResponseFormatter::$keepObjectType</code> in order to avoid changing zero-indexed objects to array in <code v-pre>yii\helpers\Json::encode()</code> (zebraf1)</li>
<li>Enh #18783: Add support for URI namespaced tags in <code v-pre>XmlResponseFormatter</code> (WinterSilence, samdark)</li>
<li>Enh #18783: Add <code v-pre>XmlResponseFormatter::$objectTagToLowercase</code> option to lowercase object tags (WinterSilence, samdark)</li>
<li>Enh #18812: Add error messages and optimize “error” methods in <code v-pre>yii\helpers\BaseJson</code> (WinterSilence, samdark)</li>
<li>Enh #18826: Add ability to turn the sorting off for a clicked column in GridView with multisort (ditibal)</li>
<li>Enh #18858: Reduce memory usage in <code v-pre>yii\base\View::afterRender</code> method (LeoOnTheEarth)</li>
<li>Enh #18899: Replace usages of <code v-pre>strpos</code> with <code v-pre>strncmp</code> and remove redundant usage of <code v-pre>array_merge</code> and <code v-pre>array_values</code> (AlexGx)</li>
<li>Enh #18904: Improve Captcha client-side validation (hexkir)</li>
<li>Enh #18967: Use proper attribute names for tabular data in <code v-pre>yii\widgets\ActiveField::addAriaAttributes()</code> (AnkIF)</li>
<li>Enh #19005: Add <code v-pre>yii\base\Module::setControllerPath()</code> (WinterSilence)</li>
<li>Enh #19098: Add <code v-pre>yii\helper\BaseHtml::$normalizeClassAttribute</code> to fix duplicate classes (WinterSilence)</li>
<li>Enh #19108: Optimize <code v-pre>Component::hasEventHandlers()</code> and <code v-pre>Component::trigger()</code> (WinterSilence)</li>
<li>Chg #18823: Rollback changes from #18806 in <code v-pre>yii\validators\ExistValidator::checkTargetRelationExistence()</code> (WinterSilence)</li>
</ul>
<h2 id="_2-0-43-2021-08-09" tabindex="-1"><a class="header-anchor" href="#_2-0-43-2021-08-09"><span>2.0.43（2021-08-09）</span></a></h2>
<ul>
<li>Bug #14663: Do not convert int to string if database type of column is numeric (egorrishe)</li>
<li>Bug #18274: Fix <code v-pre>yii\log\Logger</code> to calculate profile timings no matter the value of the flush interval (bizley)</li>
<li>Bug #18648: Fix <code v-pre>yii\web\Request</code> to properly handle HTTP Basic Auth headers (olegbaturin)</li>
<li>Bug #18650: Refactor <code v-pre>framework/assets/yii.activeForm.js</code> arrow function into traditional function for IE11 compatibility (marcovtwout)</li>
<li>Bug #18678: Fix <code v-pre>yii\caching\DbCache</code> to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection (aidanbek)</li>
<li>Bug #18749: Fix <code v-pre>yii\web\ErrorHandler::encodeHtml()</code> to support strings with invalid UTF symbols (vjik)</li>
<li>Bug #18756: Fix <code v-pre>\yii\validators\ExistValidator::queryValueExists</code> to validate against an array of unique values (DrDeath72)</li>
<li>Bug #18807: Fix replacing source whitespaces and optimize code of <code v-pre>yii\helpers\BaseStringHelper::mb_ucwords()</code> (WinterSilence)</li>
<li>Enh #18274: Add <code v-pre>profilingAware</code> option to <code v-pre>yii\log\Logger</code> to prevent breaking the profiling block messages pair when flushing them (bizley)</li>
<li>Enh #18628: Add strings “software”, and “hardware” to <code v-pre>$specials</code> array in <code v-pre>yii\helpers\BaseInflector</code> (kjusupov)</li>
<li>Enh #18653: Add method <code v-pre>yii\helpers\BaseHtml::getInputIdByName()</code> (WinterSilence)</li>
<li>Enh #18656: Add ability for <code v-pre>yii serve</code>‘s <code v-pre>--router</code> param to take an alias (markhuot)</li>
<li>Enh #18669: Change visibility of <code v-pre>yii\web\User::checkRedirectAcceptable()</code> to <code v-pre>public</code> (rhertogh)</li>
<li>Enh #18674: Add more user-friendly exception messages for <code v-pre>yii\i18n\Formatter</code> (bizley)</li>
<li>Enh #18676: Add method <code v-pre>yii\helpers\BaseFileHelper::changeOwnership()</code> and <code v-pre>newFileMode</code>/<code v-pre>newFileOwnership</code> properties to <code v-pre>yii\console\controllers\BaseMigrateController</code> (rhertogh)</li>
<li>Enh #18695: Add <code v-pre>yii\web\Cookie::SAME_SITE_NONE</code> constant (rhertogh)</li>
<li>Enh #18707: Change the base error handler to not expose <code v-pre>$_SERVER</code> details unless <code v-pre>YII_DEBUG</code> is enabled (coolgoose)</li>
<li>Enh #18712: Add <code v-pre>scheme</code> option for <code v-pre>$options</code> argument for <code v-pre>yii\i18n\Formatter::asUrl()</code> (bizley)</li>
<li>Enh #18724: Allow jQuery 3.6 to be installed (marcovtwout)</li>
<li>Enh #18726: Add <code v-pre>yii\helpers\Json::$prettyPrint</code> (rhertogh)</li>
<li>Enh #18734: Add <code v-pre>yii\validators\EmailValidator::$enableLocalIDN</code> (brandonkelly)</li>
<li>Enh #18789: Add JSONP support in <code v-pre>yii\web\JsonParser::parse()</code> (WinterSilence)</li>
<li>Enh #18817: Use <code v-pre>paragonie/random_compat</code> for random bytes and int generation (samdark)</li>
</ul>
<h2 id="_2-0-42-1-may-06-2021" tabindex="-1"><a class="header-anchor" href="#_2-0-42-1-may-06-2021"><span>2.0.42.1 May 06, 2021</span></a></h2>
<ul>
<li>Bug #18634: Fix <code v-pre>yii\db\BaseActiveRecord::unlink()</code> and <code v-pre>unlinkAll()</code> to omit condition for <code v-pre>on</code> property when it doesn’t exist (bizley)</li>
</ul>
<h2 id="_2-0-42-may-05-2021" tabindex="-1"><a class="header-anchor" href="#_2-0-42-may-05-2021"><span>2.0.42 May 05, 2021</span></a></h2>
<ul>
<li>Bug #14343: Fix <code v-pre>yii\test\ActiveFixture</code> to use model’s DB connection instead of the default one (margori, bizley)</li>
<li>Bug #17174: Fix <code v-pre>yii\db\BaseActiveRecord::unlink()</code> to not ignore <code v-pre>on</code> conditions in <code v-pre>via</code> relations (bizley)</li>
<li>Bug #17203: Fix <code v-pre>yii\db\Connection</code> to persist customized <code v-pre>queryBuilder</code> configuration after the <code v-pre>close()</code> → <code v-pre>open()</code> cycle (silverfire)</li>
<li>Bug #17479: Fix <code v-pre>yii\grid\ActionColumn</code> to render icons when no glyphicons are available (simialbi)</li>
<li>Bug #17631: Fix <code v-pre>yii\widgets\BaseListView</code> to properly render custom summary (sjaakp, bizley)</li>
<li>Bug #18323: Fix client validation of RadioList when there are disabled items (toir427)</li>
<li>Bug #18325: Fix <code v-pre>yii\db\pgsql\Schema</code> to respect non-default PgSQL schema name for data types (theonedemon, silverfire)</li>
<li>Bug #18526: Fix <code v-pre>yii\caching\DbCache</code> to work with MSSQL, add <code v-pre>normalizeTableRowData()</code> to <code v-pre>yii\db\mssql\QueryBuilder::upsert()</code> (darkdef)</li>
<li>Bug #18544: Fix <code v-pre>yii\validators\NumberValidator</code> to disallow values with whitespaces (bizley)</li>
<li>Bug #18552: Fix <code v-pre>yii\data\SqlDataProvider</code> to properly handle SQL with <code v-pre>ORDER BY</code> clause (bizley)</li>
<li>Bug #18557: Fix <code v-pre>yii\data\ActiveDataProvider</code> to handle DB connection configuration of different type than just <code v-pre>yii\db\Connection</code> (bizley)</li>
<li>Bug #18574: Fix <code v-pre>yii\web\DbSession</code> to use the correct db if strict mode is used (Mignar)</li>
<li>Bug #18585: Fix <code v-pre>yii\validators\EmailValidator</code> to handle an edge case where <code v-pre>IDN</code> is enabled, but fails ascii conversion for valid email addresses (ihitbuttons)</li>
<li>Bug #18590: Fix <code v-pre>yii\web\UrlManager</code> to instantiate cache only when it’s actually needed (bizley)</li>
<li>Bug #18592: Fix <code v-pre>yii\db\Command::getRawSql()</code> to not replace query params in invalid places (sartor)</li>
<li>Bug #18593: Fix setting the <code v-pre>maxlength</code> attribute for <code v-pre>Html::activeInput()</code> and <code v-pre>Html::activeTextArea()</code> based on <code v-pre>length</code> parameter of validator (BSCheshir)</li>
<li>Bug #18604: Function alterColumn for MSSQL build incorrect query with default values <code v-pre>NULL</code> and other expressions (darkdef)</li>
<li>Bug #18613: Do not call static methods non-statically in <code v-pre>BaseActiveRecord</code> (samdark)</li>
<li>Bug #18619: Do not modify <code v-pre>yii\web\Cookie::$path</code> on <code v-pre>yii\web\Response::sendCookies()</code> (mikk150)</li>
<li>Bug #18624: Fix <code v-pre>yii\di\Container</code> to properly resolve dependencies in case of PHP 8 union types (bizley)</li>
<li>Enh #18534: Add <code v-pre>prepareSearchQuery</code> property in <code v-pre>yii\rest\IndexAction</code> (programmis)</li>
<li>Enh #18566: Throw the original exception when <code v-pre>yii\web\Controller::bindInjectedParams()</code> catches HttpException (pigochu)</li>
<li>Enh #18569: Add <code v-pre>NumberValidator::$allowArray</code> (raidkon)</li>
</ul>
<h2 id="_2-0-41-1-march-04-2021" tabindex="-1"><a class="header-anchor" href="#_2-0-41-1-march-04-2021"><span>2.0.41.1 March 04, 2021</span></a></h2>
<ul>
<li>Bug #18545: Reversed changes made to the <code v-pre>yii\db\Query::all()</code> and <code v-pre>indexBy</code> handling (bizley)</li>
<li>Bug #18548: Fix bug with REST rules with prefixes containing tokens not being parsed properly (bizley)</li>
</ul>
<h2 id="_2-0-41-march-03-2021" tabindex="-1"><a class="header-anchor" href="#_2-0-41-march-03-2021"><span>2.0.41 March 03, 2021</span></a></h2>
<ul>
<li>Bug #8750: Fix MySQL support when running in <code v-pre>ANSI</code>/<code v-pre>ANSI_QUOTES</code> modes (brandonkelly)</li>
<li>Bug #9718: Fix user staying authorized despite authKey change (kidol, Charlie Jack, Kunal Mhaske, samdark)</li>
<li>Bug #18448: Fix issues in queries and tests for older MSSQL versions (darkdef)</li>
<li>Bug #18450: Allow empty string to be passed as a nullable typed argument to a controller’s action (dicrtarasov, bizley)</li>
<li>Bug #18464: Fix bug with processing fallback messages when translation language is set to <code v-pre>null</code> (bizley)</li>
<li>Bug #18472: Fix initializing <code v-pre>db</code> component configuration in <code v-pre>yii\data\ActiveDataProvider</code> (bizley)</li>
<li>Bug #18477: Fix detecting availability of Xdebug’s stack trace in <code v-pre>yii\base\ErrorException</code> (bizley)</li>
<li>Bug #18479: Fix invalid argument type for <code v-pre>preg_split()</code> in <code v-pre>\yii\console\Controller</code> (gazooz)</li>
<li>Bug #18480: Transactions are not committed using the dblib driver (bbrunekreeft)</li>
<li>Bug #18505: Fix <code v-pre>yii\helpers\ArrayHelper::getValue()</code> for ArrayAccess objects with explicitly defined properties (samdark)</li>
<li>Bug #18508: Fix Postgres SQL query for load table indexes with correct column order (insolita)</li>
<li>Bug #18529: Fix asset files path with <code v-pre>appendTimestamp</code> option for non-root-relative base URLs (bizley)</li>
<li>Bug #18535: Set Cookie SameSite to Lax by default (samdark)</li>
<li>Bug #18539: Fix “driver does not support quoting” when using the driver pdo_odbc (xpohoc69)</li>
<li>Enh #18447: Do not use <code v-pre>getLastInsertID()</code> to get PK from insert query to lower collision probability for concurrent inserts (darkdef)</li>
<li>Enh #18455: Add ability to use separate attributes for data model and filter model of <code v-pre>yii\grid\GridView</code> in <code v-pre>yii\grid\DataColumn</code> (PowerGamer1)</li>
<li>Enh #18457: Add <code v-pre>EVENT_RESET</code> and <code v-pre>EVENT_FINISH</code> events to <code v-pre>yii\db\BatchQueryResult</code> (brandonkelly)</li>
<li>Enh #18460: <code v-pre>compareValue</code> in <code v-pre>CompareValidator</code> can now take a closure returning a value (mmonem)</li>
<li>Enh #18483: Add <code v-pre>yii\log\Logger::$dbEventNames</code> that allows specifying event names used to get statistical results (profiling) of DB queries (atiline)</li>
<li>Enh #18487: Allow creating URLs for non-GET-verb rules (bizley)</li>
<li>Enh #18493: Faster request parsing for REST UrlRule with prefix handling (bizley)</li>
<li>Enh #18499: When using <code v-pre>yii\db\Query::all()</code> and <code v-pre>yii\db\Query::$indexBy</code>, the <code v-pre>yii\db\Query::$indexBy</code> is auto inserted into <code v-pre>yii\db\Query::$select</code> - the same as in <code v-pre>yii\db\Query::column()</code> (OndrejVasicek, samdark, bizley)</li>
<li>Enh #18518: Add support for ngrok’s <code v-pre>X-Original-Host</code> header (brandonkelly)</li>
</ul>
<h2 id="_2-0-40-december-23-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-40-december-23-2020"><span>2.0.40 December 23, 2020</span></a></h2>
<ul>
<li>Bug #16492: Fix eager loading Active Record relations when relation key is a subject to a type-casting behavior (bizley)</li>
<li>Bug #18199: Fix content body response on 304 HTTP status code, according to RFC 7232 (rad8329)</li>
<li>Bug #18287: Fix the OUTPUT got SQL syntax error if the column name is MSSQL keyword e.g. key (darkdef)</li>
<li>Bug #18339: Fix migrate controller actions to return exit codes (haohetao, bizley)</li>
<li>Bug #18365: Move quoting of table names to upper level to function <code v-pre>getSchemaMetadata()</code> in MSSQL driver to get clean names from the schema (darkdef)</li>
<li>Bug #18383: RBAC’s generated file made PSR-12 compliant (perlexed)</li>
<li>Bug #18386: Fix <code v-pre>assets/yii.activeForm.js</code> incorrect target selector for <code v-pre>validatingCssClass</code> (brussens)</li>
<li>Bug #18393: Fix <code v-pre>ActiveRecord::refresh()</code> to load data from the database even if cache is enabled (hooman-mirghasemi)</li>
<li>Bug #18395: Fix regression in <code v-pre>yii\helpers\BaseArrayHelper::filter()</code> (allowing filtering arrays with numeric keys) (bizley)</li>
<li>Bug #18400: Set parent module of the newly attached child module by <code v-pre>Module::setModule()</code> and <code v-pre>Module::setModules()</code> (sup-ham)</li>
<li>Bug #18406: Fix PDO exception when committing or rolling back an autocommitted transaction in PHP 8 (brandonkelly)</li>
<li>Bug #18414: Fix <code v-pre>AssetManager::appendTimestamp()</code> not appending timestamp for website root in sub-directory (Isitar)</li>
<li>Bug #18426: Fix check for route’s leading slash in <code v-pre>yii\widgets\Menu</code> (stevekr)</li>
<li>Bug #18435: Fix ensuring Active Record relation links’ keys to be strings (bizley)</li>
<li>Bug #18437: Change the check order whether an object is an implementation of <code v-pre>Arrayable</code> or <code v-pre>JsonSerializable</code> in <code v-pre>\yii\base\ArrayableTrait::toArray()</code> and <code v-pre>\yii\rest\Serializer::serialize()</code> (spell6inder)</li>
<li>Bug #18442: Fix calls with array access to string (bizley)</li>
<li>Enh #18381: The <code v-pre>yii\web\AssetManager</code> <code v-pre>$basePath</code> readable and writeable check has been moved to the <code v-pre>checkBasePathPermission()</code>. This check will run once before <code v-pre>publishFile()</code> and <code v-pre>publishDirectory()</code> (nadar)</li>
<li>Enh #18394: Add support for setting <code v-pre>yii\web\Response::$stream</code> to a callable (brandonkelly)</li>
</ul>
<h2 id="_2-0-39-3-november-23-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-39-3-november-23-2020"><span>2.0.39.3 November 23, 2020</span></a></h2>
<ul>
<li>Bug #18396: Fix not throw <code v-pre>InvalidConfigException</code> when failed to instantiate class via DI container in some cases (vjik)</li>
<li>Enh #18200: Add <code v-pre>maxlength</code> attribute by default to the input text when it is an active field within a <code v-pre>yii\grid\DataColumn</code> (rad8329)</li>
</ul>
<h2 id="_2-0-39-2-november-13-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-39-2-november-13-2020"><span>2.0.39.2 November 13, 2020</span></a></h2>
<ul>
<li>Bug #18378: Fix not taking default value when unable to resolve abstract class via DI container (vjik)</li>
</ul>
<h2 id="_2-0-39-1-november-10-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-39-1-november-10-2020"><span>2.0.39.1 November 10, 2020</span></a></h2>
<ul>
<li>Bug #18373: Fix not taking default value when unable to resolve non-existing class via DI container (vjik)</li>
<li>Enh #18370: Add option to provide a string replacement for <code v-pre>null</code> value in <code v-pre>yii\data\DataFilter</code> (bizley)</li>
</ul>
<h2 id="_2-0-39-november-10-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-39-november-10-2020"><span>2.0.39 November 10, 2020</span></a></h2>
<ul>
<li>Bug #16418: Fix <code v-pre>yii\data\Pagination::getLinks()</code> to return links to the first and the last pages regardless of the current page (ptz-nerf, bizley)</li>
<li>Bug #16831: Fix console Table widget does not render correctly in combination with ANSI formatting (issidorov, cebe)</li>
<li>Bug #18160, #18192: Fix <code v-pre>registerFile</code> with set argument <code v-pre>depends</code> does not take <code v-pre>position</code> and <code v-pre>appendTimestamp</code> into account (baleeny)</li>
<li>Bug #18263: Fix writing <code v-pre>\yii\caching\FileCache</code> files to the same directory when <code v-pre>keyPrefix</code> is set (githubjeka)</li>
<li>Bug #18287: Fix for <code v-pre>OUTPUT INSERTED</code> and computed columns. Add flag to mark computed values in table schema (darkdef)</li>
<li>Bug #18290: Fix response with non-seekable streams (schmunk42)</li>
<li>Bug #18297: Replace usage of deprecated <code v-pre>ReflectionParameter::isArray()</code> method in PHP8 (baletskyi)</li>
<li>Bug #18303: Fix creating migration for column methods used after <code v-pre>defaultValues</code> (wsaid)</li>
<li>Bug #18308: Fix <code v-pre>\yii\base\Model::getErrorSummary()</code> reverse order (DrDeath72)</li>
<li>Bug #18313: Fix multipart form data parsing with double quotes (wsaid)</li>
<li>Bug #18317: Additional PHP 8 compatibility fixes (samdark, bizley)</li>
<li>Enh #18247: Add support for the ‘session.use_strict_mode’ ini directive in <code v-pre>yii\web\Session</code> (rhertogh)</li>
<li>Enh #18285: Enhanced DI container to allow passing parameters by name in a constructor (vjik)</li>
<li>Enh #18304: Add support of constructor parameters with default values to DI container (vjik)</li>
<li>Enh #18351: Add option to change default timezone for parsing formats without time part in <code v-pre>yii\validators\DateValidator</code> (bizley)</li>
</ul>
<h2 id="_2-0-38-september-14-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-38-september-14-2020"><span>2.0.38 September 14, 2020</span></a></h2>
<ul>
<li>Bug #13973: Correct alterColumn for MSSQL &amp; drop constraints before dropping a column (darkdef)</li>
<li>Bug #15265: PostgreSQL &gt; 10.0 is not pass tests with default value of timestamp CURRENT_TIMESTAMP (terabytesoftw)</li>
<li>Bug #16892: Validation error class was not applied to checkbox and radio when validationStateOn = self::VALIDATION_STATE_ON_INPUT (dan-szabo, samdark)</li>
<li>Bug #18040: Display width specification for integer data types was deprecated in MySQL 8.0.19 (terabytesoftw)</li>
<li>Bug #18066: Fix <code v-pre>yii\db\Query::create()</code> wasn’t using all info from <code v-pre>withQuery()</code> (maximkou)</li>
<li>Bug #18229: Add a flag to specify SyBase database when used with pdo_dblib (darkdef)</li>
<li>Bug #18232: Fail tests pgsql v-10.14, v-11.9, v-12-latest (terabytesoftw)</li>
<li>Bug #18233: Add PHP 8 support (samdark)</li>
<li>Bug #18239: Fix support of no-extension files for <code v-pre>FileValidator::validateExtension()</code> (darkdef)</li>
<li>Bug #18245: Make resolving DI references inside of arrays in dependencies optional (SamMousa, samdark, hiqsol)</li>
<li>Bug #18248: Render only one stack trace on a console for chained exceptions (mikehaertl)</li>
<li>Bug #18269: Fix integer safe attribute to work properly in <code v-pre>yii\base\Model</code> (Ladone)</li>
<li>Bug: (CVE-2020-15148): Disable unserialization of <code v-pre>yii\db\BatchQueryResult</code> to prevent remote code execution in case application calls unserialize() on user input containing specially crafted string (samdark, russtone)</li>
<li>Enh #18196: <code v-pre>yii\rbac\DbManager::$checkAccessAssignments</code> is now <code v-pre>protected</code> (alex-code)</li>
<li>Enh #18213: Do not load fixtures with circular dependencies twice instead of throwing an exception (JesseHines0)</li>
<li>Enh #18236: Allow <code v-pre>yii\filters\RateLimiter</code> to accept a closure function for the <code v-pre>$user</code> property in order to assign values on runtime (nadar)</li>
</ul>
<h2 id="_2-0-37-august-07-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-37-august-07-2020"><span>2.0.37 August 07, 2020</span></a></h2>
<ul>
<li>Bug #17147: Fix form attribute validations for empty select inputs (kartik-v)</li>
<li>Bug #18156: Fix <code v-pre>yii\db\Schema::quoteSimpleTableName()</code> was checking incorrect quote character (M4tho, samdark)</li>
<li>Bug #18170: Fix 2.0.36 regression in passing extra console command arguments to the action (darkdef)</li>
<li>Bug #18171: Change case of column names in SQL query for <code v-pre>findConstraints</code> to fix MySQL 8 compatibility (darkdef)</li>
<li>Bug #18182: <code v-pre>yii\db\Expression</code> was not supported as condition in <code v-pre>ActiveRecord::findOne()</code> and <code v-pre>ActiveRecord::findAll()</code> (rhertogh)</li>
<li>Bug #18189: Fix “Invalid parameter number” in <code v-pre>yii\rbac\DbManager::removeItem()</code> (samdark)</li>
<li>Bug #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table (darkdef)</li>
<li>Bug #18203: PDO exception code was not properly passed to <code v-pre>yii\db\Exception</code> (samdark)</li>
<li>Bug #18204: Fix 2.0.36 regression in inline validator and JS validation (samdark)</li>
<li>Enh #18205: Add <code v-pre>.phpstorm.meta.php</code> file for better auto-completion in PhpStorm (vjik)</li>
<li>Enh #18210: Allow strict comparison for multi-select inputs (alex-code)</li>
<li>Enh #18217: Make <code v-pre>yii\console\ErrorHandler</code> render chained exceptions in debug mode (mikehaertl)</li>
</ul>
<h2 id="_2-0-36-july-07-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-36-july-07-2020"><span>2.0.36 July 07, 2020</span></a></h2>
<ul>
<li>Bug #13828: Fix retrieving inserted data for a primary key of type uniqueidentifier for SQL Server 2005 or later (darkdef)</li>
<li>Bug #17474: Fix retrieving inserted data for a primary key of type trigger for SQL Server 2005 or later (darkdef)</li>
<li>Bug #17985: Convert migrationNamespaces to array if needed (darkdef)</li>
<li>Bug #18001: Fix getting table metadata for tables <code v-pre>(</code> in their name (floor12)</li>
<li>Bug #18026: Fix <code v-pre>ArrayHelper::getValue()</code> did not work with <code v-pre>ArrayAccess</code> objects (mikk150)</li>
<li>Bug #18028: Fix division by zero exception in console <code v-pre>Table::calculateRowHeight()</code> (fourhundredfour)</li>
<li>Bug #18031: <code v-pre>HttpBasicAuth</code> with auth callback now triggers login events same was as other authentication methods (samdark)</li>
<li>Bug #18041: Fix RBAC migration for MSSQL (darkdef)</li>
<li>Bug #18047: Fix colorization markers output in console <code v-pre>Table</code> (cheeseq)</li>
<li>Bug #18051: Fix missing support for custom validation method in EachValidator (bizley)</li>
<li>Bug #18051: Fix using <code v-pre>EachValidator</code> with custom validation function (bizley)</li>
<li>Bug #18081: Fix for PDO_DBLIB/MSSQL. Set flag <code v-pre>ANSI_NULL_DFLT_ON</code> to ON for current DB connection (darkdef)</li>
<li>Bug #18086: Fix accessing public properties of <code v-pre>ArrayAccess</code> via <code v-pre>ArrayHelper::getValue()</code> (samdark)</li>
<li>Bug #18094: Add support for composite file extension validation (darkdef)</li>
<li>Bug #18096: Fix <code v-pre>InlineValidator</code> with anonymous inline function not working well from <code v-pre>EachValidator</code> (trombipeti)</li>
<li>Bug #18101: Fix behavior of <code v-pre>OUTPUT INSERTED.*</code> for SQL Server query: “insert default values”; correct MSSQL unit tests; turn off profiling echo message in migration test (darkdef)</li>
<li>Bug #18105: Fix for old trigger in RBAC migration with/without <code v-pre>prefixTable</code> (darkdef)</li>
<li>Bug #18110: Add quotes to return value of viewName in MSSQL schema. It is <code v-pre>[someView]</code> now (darkdef)</li>
<li>Bug #18127: Resolve DI references inside of arrays in dependencies (hiqsol)</li>
<li>Bug #18134: <code v-pre>Expression</code> as <code v-pre>columnName</code> should not be quoted in <code v-pre>likeCondition</code> (darkdef)</li>
<li>Bug #18147: Fix parameters binding for MySQL when prepare emulation is off (rskrzypczak)</li>
<li>Enh #15202: Add optional param <code v-pre>--silent-exit-on-exception</code> in <code v-pre>yii\console\Controller</code> (egorrishe)</li>
<li>Enh #17722: Add action injection support (SamMousa, samdark, erickskrauch)</li>
<li>Enh #18019: Allow jQuery 3.5.0 to be installed (wouter90)</li>
<li>Enh #18048: Use <code v-pre>Instance::ensure()</code> to set <code v-pre>User::$accessChecker</code> (lav45)</li>
<li>Enh #18083: Add <code v-pre>Controller::$request</code> and <code v-pre>$response</code> (brandonkelly)</li>
<li>Enh #18120: Include the path to the log file into error message if <code v-pre>FileTarget::export</code> fails (uaoleg)</li>
<li>Enh #18151: Add <code v-pre>Mutex::isAcquired()</code> to check if lock is currently acquired (rhertogh)</li>
</ul>
<h2 id="_2-0-35-may-02-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-35-may-02-2020"><span>2.0.35 May 02, 2020</span></a></h2>
<ul>
<li>Bug #16481: Fix RBAC MSSQL trigger (achretien)</li>
<li>Bug #17653: Fix <code v-pre>TypeError: pair[1] is undefined</code> when query param doesn’t have <code v-pre>=</code> sign (baso10)</li>
<li>Bug #17810: Fix <code v-pre>EachValidator</code> crashing with uninitialized typed properties (ricardomm85)</li>
<li>Bug #17942: Fix for <code v-pre>DbCache</code> loop in MySQL <code v-pre>QueryBuilder</code> (alex-code)</li>
<li>Bug #17948: Ignore errors caused by <code v-pre>set_time_limit(0)</code> (brandonkelly)</li>
<li>Bug #17960: Fix unsigned primary key type mapping for SQLite (bizley)</li>
<li>Bug #17961: Fix pagination <code v-pre>pageSizeLimit</code> ignored if set as array with more then 2 elements (tsvetiligo)</li>
<li>Bug #17974: Fix <code v-pre>ActiveRelationTrait</code> compatibility with PHP 7.4 (Ximich)</li>
<li>Bug #17975: Fix deleting unused messages with console command if message tables were created manually (auerswald, cebe)</li>
<li>Bug #17991: Improve <code v-pre>yii\db\Connection</code> master and slave failover, no connection attempt was made when all servers are marked as unavailable (cebe)</li>
<li>Bug #18000: PK value of Oracle ActiveRecord is missing after save (mankwok)</li>
<li>Bug #18010: Allow upper or lower case operators in <code v-pre>InCondition</code> and <code v-pre>LikeCondition</code> (alex-code)</li>
<li>Bug #18011: Add attribute labels support for <code v-pre>DynamicModel</code>, fixed <code v-pre>EachValidator</code> to pass the attribute label to the underlying <code v-pre>DynamicModel</code> (storch)</li>
<li>Enh #17758: <code v-pre>Query::withQuery()</code> can now be used for CTE (sartor)</li>
<li>Enh #17993: Add <code v-pre>yii\i18n\Formatter::$currencyDecimalSeparator</code> to allow setting custom symbols for currency decimal in <code v-pre>IntlNumberFormatter</code> (XPOHOC269)</li>
<li>Enh #18006: Allow <code v-pre>SameSite</code> cookie pre PHP 7.3 (scottix)</li>
</ul>
<h2 id="_2-0-34-march-26-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-34-march-26-2020"><span>2.0.34 March 26, 2020</span></a></h2>
<ul>
<li>Bug #17932: Fix regression in detection of AJAX requests (samdark)</li>
<li>Bug #17933: Log warning instead of erroring when URLManager is unable to initialize cache (samdark)</li>
<li>Bug #17934: Fix regression in Oracle when binding several string parameters (fen1xpv, samdark)</li>
<li>Bug #17935: Reset DB quoted table/column name caches when the connection is closed (brandonkelly)</li>
</ul>
<h2 id="_2-0-33-march-24-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-33-march-24-2020"><span>2.0.33 March 24, 2020</span></a></h2>
<ul>
<li>Bug #11945: Fix Schema Builder MySQL column definition order (simialbi)</li>
<li>Bug #13749: Fix Yii opens db connection even when hits query cache (shushenghong)</li>
<li>Bug #16092: Fix duplicate joins in usage of <code v-pre>joinWith</code> (germanow)</li>
<li>Bug #16145: Fix <code v-pre>Html</code> helper <code v-pre>checkboxList()</code>, <code v-pre>radioList()</code>, <code v-pre>renderSelectOptions()</code>, <code v-pre>dropDownList()</code>, <code v-pre>listBox()</code> methods to work properly with traversable selection (samdark)</li>
<li>Bug #16334: Add <code v-pre>\JsonSerializable</code> support to <code v-pre>ArrayableTrait</code> (germanow)</li>
<li>Bug #17667: Fix <code v-pre>CREATE INDEX</code> failure on SQLite when specifying schema (santilin, samdark)</li>
<li>Bug #17679: Fix Oracle exception “ORA-01461: can bind a LONG value only for insert into a LONG column” when inserting 4k+ string (vinpel, 243083df)</li>
<li>Bug #17797: Fix for <code v-pre>activeListInput</code> options (alex-code)</li>
<li>Bug #17798: Avoid creating directory for stream log targets in <code v-pre>FileTarget</code> (wapmorgan)</li>
<li>Bug #17828: Fix <code v-pre>yii\web\UploadedFile::saveAs()</code> failing when error value in <code v-pre>$_FILES</code> entry is a string (haveyaseen)</li>
<li>Bug #17829: <code v-pre>yii\helpers\ArrayHelper::filter</code> now correctly filters data when passing a filter with more than 2 levels (rhertogh)</li>
<li>Bug #17843: Fix <code v-pre>yii\web\Session::setCookieParamsInternal</code> checked “samesite” parameter incorrectly (schevgeny)</li>
<li>Bug #17850: Update to <code v-pre>ReplaceArrayValue</code> config exception message (alex-code)</li>
<li>Bug #17859: Fix loading fixtures under Windows (samdark)</li>
<li>Bug #17863: <code v-pre>\yii\helpers\BaseInflector::slug()</code> doesn’t work with an empty string as a replacement argument (haruatari)</li>
<li>Bug #17875: Use <code v-pre>move_uploaded_file()</code> function instead of <code v-pre>copy()</code> and <code v-pre>unlink()</code> for saving uploaded files in case of POST request (sup-ham)</li>
<li>Bug #17878: Detect CORS AJAX requests without <code v-pre>X-Requested-With</code> in <code v-pre>Request::getIsAjax()</code> (dicrtarasov, samdark)</li>
<li>Bug #17881: <code v-pre>yii\db\Query::queryScalar()</code> wasn’t reverting the <code v-pre>select</code>, <code v-pre>orderBy</code>, <code v-pre>limit</code>, and <code v-pre>offset</code> params if an exception occurred (brandonkelly)</li>
<li>Bug #17884: Fix 0 values in console Table rendered as empty string (mikehaertl)</li>
<li>Bug #17886: Fix <code v-pre>yii\rest\Serializer</code> to serialize arrays (patacca)</li>
<li>Bug #17909: Reset DB schema, transaction, and driver name when the connection is closed (brandonkelly)</li>
<li>Bug #17920: Fix quoting for <code v-pre>Command::getRawSql</code> having <code v-pre>Expression</code> in params (alex-code)</li>
<li>Enh #7622: Allow <code v-pre>yii\data\ArrayDataProvider</code> to control the sort flags for <code v-pre>sortModels</code> through <code v-pre>yii\data\Sort::sortFlags</code> property (askobara)</li>
<li>Enh #16721: Use <code v-pre>Instance::ensure()</code> to initialize <code v-pre>UrlManager::$cache</code> (rob006)</li>
<li>Enh #17827: Add <code v-pre>StringValidator::$strict</code> that can be turned off to allow any scalars (adhayward, samdark)</li>
<li>Enh #17929: Actions can now have bool typed params bound (alex-code)</li>
</ul>
<h2 id="_2-0-32-january-21-2020" tabindex="-1"><a class="header-anchor" href="#_2-0-32-january-21-2020"><span>2.0.32 January 21, 2020</span></a></h2>
<ul>
<li>Bug #12539: <code v-pre>yii\filters\ContentNegotiator</code> now generates 406 ‘Not Acceptable’ instead of 415 ‘Unsupported Media Type’ on content-type negotiation fail (PowerGamer1)</li>
<li>Bug #17037: Fix uploaded file saving method when data came from <code v-pre>MultipartFormDataParser</code> (sup-ham)</li>
<li>Bug #17300: Fix class-level event handling with wildcards (Toma91)</li>
<li>Bug #17635: Fix varbinary data handling for MSSQL (toatall)</li>
<li>Bug #17744: Fix a bug with setting incorrect <code v-pre>defaultValue</code> to AR column with <code v-pre>CURRENT_TIMESTAMP(x)</code> as default expression (MySQL &gt;= 5.6.4) (bizley)</li>
<li>Bug #17749: Fix logger dispatcher behavior when target crashes in PHP 7.0+ (kamarton)</li>
<li>Bug #17755: Fix a bug for web request with <code v-pre>trustedHosts</code> set to format <code v-pre>['10.0.0.1' =&gt; ['X-Forwarded-For']]</code> (shushenghong)</li>
<li>Bug #17760: Fix <code v-pre>JSON::encode()</code> for <code v-pre>\DateTimeInterface</code> under PHP 7.4 (samdark)</li>
<li>Bug #17762: PHP 7.4: Remove special condition for converting PHP errors to exceptions if they occurred inside of <code v-pre>__toString()</code> call (rob006)</li>
<li>Bug #17766: Remove previous PJAX event binding before registering new one (samdark)</li>
<li>Bug #17767: Make <code v-pre>Formatter::formatNumber</code> method protected (TheCodeholic)</li>
<li>Bug #17771: migrate/fresh was not returning exit code (samdark)</li>
<li>Bug #17793: Fix inconsistent handling of null <code v-pre>data</code> attribute values in <code v-pre>yii\helpers\BaseHtml::renderTagAttributes()</code> (brandonkelly)</li>
<li>Bug #17803: Fix <code v-pre>ErrorHandler</code> unregister and register to only change global state when applicable (SamMousa)</li>
<li>Enh #17729: Path alias support was added to <code v-pre>yii\web\UploadedFile::saveAs()</code> (sup-ham)</li>
<li>Enh #17792: Add support for <code v-pre>aria</code> attributes to <code v-pre>yii\helpers\BaseHtml::renderTagAttributes()</code> (brandonkelly)</li>
</ul>
<h2 id="_2-0-31-december-18-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-31-december-18-2019"><span>2.0.31 December 18, 2019</span></a></h2>
<ul>
<li>Bug #17661: Fix query builder incorrect IN/NOT IN condition handling for null values (strychu)</li>
<li>Bug #17685: Fix invalid db component in <code v-pre>m180523_151638_rbac_updates_indexes_without_prefix</code> (rvkulikov)</li>
<li>Bug #17687: <code v-pre>Query::indexBy</code> can now include a table alias (brandonkelly)</li>
<li>Bug #17694: Fixed Error Handler to clear registered view tags, scripts, and files when rendering error view through action view (bizley)</li>
<li>Bug #17701: Throw <code v-pre>BadRequestHttpException</code> when request params can’t be bound to <code v-pre>int</code> and <code v-pre>float</code> controller action arguments (brandonkelly)</li>
<li>Bug #17710: Fix MemCache duration normalization to avoid memcached/system timestamp mismatch (samdark)</li>
<li>Bug #17723: Fix <code v-pre>Model::activeAttributes()</code> to access array offset on value of non-string (samdark)</li>
<li>Bug #17723: Fix incorrect decoding of default binary value for PostgreSQL (samdark)</li>
<li>Bug #17723: Fix incorrect type-casting of reflection type to string (samdark)</li>
<li>Bug #17725: Ensure we do not use external polyfills for pbkdf2() as these may be implemented incorrectly (samdark)</li>
<li>Bug #17740: <code v-pre>yii\helpers\BaseInflector::slug()</code> doesn’t replace multiple replacement string occurrences to single one (batyrmastyr)</li>
<li>Bug #17745: Fix PostgreSQL query builder drops default value when it is empty (xepozz)</li>
<li>Enh #17665: Implement RFC 7239 <code v-pre>Forwarded</code> header parsing in Request (mikk150, kamarton)</li>
<li>Enh #17720: DI 3 support for application core components and default object configurations (sup-ham)</li>
</ul>
<h2 id="_2-0-30-november-19-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-30-november-19-2019"><span>2.0.30 November 19, 2019</span></a></h2>
<ul>
<li>Bug #17434: IE Ajax redirect fix for non 11.0 versions (kamarton)</li>
<li>Bug #17632: Unicode file name was not correctly parsed in multipart forms (AlexRas007, samdark)</li>
<li>Bug #17648: Handle empty column arrays in console <code v-pre>Table</code> widget (alex-code)</li>
<li>Bug #17657: Fix migration errors from missing <code v-pre>$schema</code> in RBAC init file when using MSSQL (PoohOka)</li>
<li>Bug #17670: Fix overriding core component class using <code v-pre>__class</code> (sup-ham, samdark)</li>
</ul>
<h2 id="_2-0-29-october-22-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-29-october-22-2019"><span>2.0.29 October 22, 2019</span></a></h2>
<ul>
<li>Bug #8225: Fixed AJAX validation with checkboxList was only triggered on first select (execut)</li>
<li>Bug #17597: PostgreSQL 12 and partitioned tables support (batyrmastyr)</li>
<li>Bug #17602: <code v-pre>EmailValidator</code> with <code v-pre>checkDNS=true</code> throws <code v-pre>ErrorException</code> on bad domains on Alpine (batyrmastyr)</li>
<li>Bug #17606: Fix error in <code v-pre>AssetBundle</code> when a disabled bundle with custom init() was still published (onmotion)</li>
<li>Bug #17625: Fix boolean <code v-pre>data</code> attributes from subkeys rendering in <code v-pre>Html::renderTagAttributes()</code> (brandonkelly)</li>
<li>Enh #17607: Added Yii version 3 DI config compatibility (hiqsol)</li>
</ul>
<h2 id="_2-0-28-october-08-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-28-october-08-2019"><span>2.0.28 October 08, 2019</span></a></h2>
<ul>
<li>Bug #17573: <code v-pre>Request::getUserIP()</code> security fix for the case when <code v-pre>Request::$trustedHost</code> and <code v-pre>Request::$ipHeaders</code> are used (kamarton)</li>
<li>Bug #17585: Fix <code v-pre>yii\i18n\Formatter</code> including the <code v-pre>@calendar</code> locale param in <code v-pre>Yii::t()</code> calls (brandonkelly)</li>
<li>Bug #17853: Fix errors in ActiveField to be properly caught when PHP 7 is used (My6UoT9)</li>
</ul>
<h2 id="_2-0-27-september-18-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-27-september-18-2019"><span>2.0.27 September 18, 2019</span></a></h2>
<ul>
<li>Bug #16610: ErrorException trace was cut when using XDebug (Izumi-kun)</li>
<li>Bug #16671: Logging in <code v-pre>Connection::open()</code> was not respecting <code v-pre>Connection::$enableLogging</code> (samdark)</li>
<li>Bug #16855: Ignore console commands that have no actions (alexeevdv)</li>
<li>Bug #17434: Fix regular expression illegal character; Repeated fix for Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (<code v-pre>XMLHttpRequest: Network Error 0x800c0008</code>) (kamarton)</li>
<li>Bug #17539: Fixed error when using <code v-pre>batch()</code> with <code v-pre>indexBy()</code> with MSSQL (alexkart)</li>
<li>Bug #17549: Fix <code v-pre>yii\db\ExpressionInterface</code> not supported in <code v-pre>yii\db\conditions\SimpleConditionBuilder</code> (razvanphp)</li>
<li>Enh #15526: Show valid aliases and options on invalid input in console application (samdark)</li>
<li>Enh #16826: <code v-pre>appendTimestamp</code> support was added to <code v-pre>View</code> methods <code v-pre>registerCssFile()</code> and <code v-pre>registerJsFile()</code> (onmotion)</li>
</ul>
<h2 id="_2-0-26-september-03-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-26-september-03-2019"><span>2.0.26 September 03, 2019</span></a></h2>
<ul>
<li>Bug #16305: Fix <code v-pre>FileValidator</code> mime-type validation failure because of case sensitivity (kamarton)</li>
<li>Bug #16531: Fix error in <code v-pre>Response::sendContent()</code> when <code v-pre>set_time_limit()</code> is disabled (brandonkelly)</li>
<li>Bug #17355: Fix incorrect sequence of <code v-pre>EVENT_AFTER_REQUEST</code> when using Pjax (kamarton)</li>
<li>Bug #17434: Fix Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (<code v-pre>XMLHttpRequest: Network Error 0x800c0008</code>) (kamarton)</li>
<li>Bug #17449: Ensure <code v-pre>CHECK</code> statement goes after <code v-pre>COMMENT</code> in MySQL <code v-pre>QueryBuilder::addCommentOnColumn()</code> (Manu311)</li>
<li>Bug #17504: Fix upsert when <code v-pre>$updateColumns</code> is <code v-pre>true</code> but there are no columns to update in the table (alexkart)</li>
<li>Bug #17507: Fix regular expression escaping and simplify condition in <code v-pre>Controller::createAction()</code> (kamarton)</li>
<li>Bug #17511: Fix IPv6 subnets matching in <code v-pre>IpHelper::inRange()</code> (kamarton)</li>
<li>Bug #17522: <code v-pre>DbManager::isEmptyUserId()</code> is now protected (samdark)</li>
</ul>
<h2 id="_2-0-25-august-13-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-25-august-13-2019"><span>2.0.25 August 13, 2019</span></a></h2>
<ul>
<li>Bug #15779: If directory path is passed to <code v-pre>FileHelper::unlink()</code> and directory has files it will not delete files in this directory on Windows now (alexkart)</li>
<li>Bug #17223: Fixed detaching a behavior event when it is a Closure instance (GHopperMSK, rob006)</li>
<li>Bug #17473: Fixed <code v-pre>SimpleConditionBuilder::build()</code> when column is not a string (alexkart)</li>
<li>Bug #17485: Reverted #17477 (samdark)</li>
<li>Bug #17486: Fixed error when using <code v-pre>batch()</code> without <code v-pre>$db</code> parameter with MSSQL (alexkart)</li>
</ul>
<h2 id="_2-0-24-july-30-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-24-july-30-2019"><span>2.0.24 July 30, 2019</span></a></h2>
<ul>
<li>Bug #10020: Fixed quoting of column names with dots in MSSQL (alexkart)</li>
<li>Bug #16796: Fixed addition and removal of table and column comments in MSSQL (sdlins)</li>
<li>Bug #17219: Fixed quoting of table names with spaces in MSSQL (alexkart)</li>
<li>Bug #17424: Subdomain support for <code v-pre>User::loginRequired</code> (alex-code)</li>
<li>Bug #17437: Fixed generating namespaced migrations (bizley)</li>
<li>Bug #17449: Fixed order of SQL column build syntax for MySQL migration (choken)</li>
<li>Bug #17457: Fixed <code v-pre>phpTypecast()</code> for MSSQL (alexkart)</li>
<li>Bug #17469: Fixed updating <code v-pre>Yii</code> logger instance when setting new logger via configuration (samdark)</li>
</ul>
<h2 id="_2-0-23-july-16-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-23-july-16-2019"><span>2.0.23 July 16, 2019</span></a></h2>
<ul>
<li>Bug #10023: Fixed MSSQL “There are no more rows in the active result set” exception when using <code v-pre>each()</code> and <code v-pre>batch()</code> (alexkart)</li>
<li>Bug #17395: Fixed issues with actions that contain underscores in their names (alexkart)</li>
<li>Bug #17413, #17418, #17426, #17431: Fixed MSSQL tests (alexkart)</li>
<li>Bug #17420: Fixed loading of column default values for MSSQL (alexkart)</li>
<li>Bug #17435: Fixed <code v-pre>i18n_init</code> migration for MSSQL (alexkart)</li>
</ul>
<h2 id="_2-0-22-july-02-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-22-july-02-2019"><span>2.0.22 July 02, 2019</span></a></h2>
<ul>
<li>Bug #16394: Fixed issues in <code v-pre>migrate/create</code> when specifying default values with colons and adding multiple columns (alexkart)</li>
<li>Bug #17057: Fixed issues with table names that contain special characters or keywords in MSSQL (alexkart)</li>
<li>Bug #17325: Fixed “Cannot drop view” for MySQL while <code v-pre>migrate/fresh</code> (alexkart)</li>
<li>Bug #17341: Re-added fix for error from yii.activeForm.js in strict mode (mikehaertl)</li>
<li>Bug #17384: Fixed SQL error when passing <code v-pre>DISTINCT ON</code> queries (brandonkelly)</li>
<li>Bug #17389: Fixed <code v-pre>UniqueValidator</code> to work with Active Record having <code v-pre>joinWith()</code> in its <code v-pre>find()</code> (garthpmurray)</li>
<li>Enh #17382: Added <code v-pre>\yii\validators\DateValidator::$strictDateFormat</code> to enable strict validation (alexkart)</li>
<li>Enh #17396: Added ‘invoked by controller’ to the debug log message when <code v-pre>\yii\base\Action</code> is used (alexkart)</li>
</ul>
<h2 id="_2-0-21-june-18-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-21-june-18-2019"><span>2.0.21 June 18, 2019</span></a></h2>
<ul>
<li>Bug #16565: Added missing parts of the context message in <code v-pre>\yii\log\Target::collect</code> (alexkart)</li>
<li>Bug #17070: Striped invalid character from fallback file name in <code v-pre>Content-Disposition</code> header when using <code v-pre>\yii\web\Response::sendFile</code> (alexkart)</li>
<li>Bug #17332: Trigger ‘change’ for checkboxes in GridView (andrii-borysov-me)</li>
<li>Bug #17341: Fixed error from yii.activeForm.js in strict mode (mikehaertl)</li>
<li>Bug #17341: Allowed callable objects to be set to <code v-pre>\yii\filters\AccessRule::$roleParams</code> (alexkart)</li>
<li>Bug #17356: MSSQL Schema was not detecting string field size (ricarnevale, sdlins)</li>
<li>Enh #17344: Improved performance of <code v-pre>yii\db\Connection::addSelect()</code> (brandonkelly)</li>
<li>Enh #17345: Improved performance of <code v-pre>yii\db\Connection::quoteColumnName()</code> (brandonkelly)</li>
<li>Enh #17348: Improved performance of <code v-pre>yii\db\Connection::quoteTableName()</code> (brandonkelly)</li>
<li>Enh #17353: Added <code v-pre>sameSite</code> support for <code v-pre>yii\web\Cookie</code> and <code v-pre>yii\web\Session::cookieParams</code> (rhertogh)</li>
</ul>
<h2 id="_2-0-20-june-04-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-20-june-04-2019"><span>2.0.20 June 04, 2019</span></a></h2>
<ul>
<li>Bug #16509: Fixed console command help text wordwrap for multi-byte strings (alexkart)</li>
<li>Bug #17299: Fixed adding of input error class in <code v-pre>\yii\widgets\ActiveField::widget</code> (alexkart)</li>
<li>Bug #17328: Added mime aliases for BMP and SVG files (cmoeke)</li>
<li>Bug #17336: Fixed wildcard matching in Event::hasHandlers() (samdark)</li>
<li>Bug #12080: Fixed afterValidate triggering when any validation occurs (czzplnm)</li>
</ul>
<h2 id="_2-0-19-may-21-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-19-may-21-2019"><span>2.0.19 May 21, 2019</span></a></h2>
<ul>
<li>Bug #12077, #12135, #17263: Fixed PostgreSQL version of <code v-pre>alterColumn()</code> to accept properly <code v-pre>ColumnSchemaBuilder</code> definition of column (bizley)</li>
<li>Bug #16918: Console Table widget variables visibility was changed to protected to allow extending it (samdark)</li>
<li>Bug #17233: Fixed bug with integer model attribute names in Validator class (nadar)</li>
<li>Bug #17306: Added “.mjs” extensions to mimetypes meta (samdark)</li>
<li>Bug #17313: Support jQuery 3.4 (samdark)</li>
</ul>
<h2 id="_2-0-18-april-23-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-18-april-23-2019"><span>2.0.18 April 23, 2019</span></a></h2>
<ul>
<li>Bug #16589: Fixed not using <code v-pre>defaultValue</code> in <code v-pre>BlameableBehavior</code> for console app (evil1)</li>
<li>Bug #16820: <code v-pre>yii\filters\Cors::prepareHeaders()</code> now accepts Access-Control-Allow-Headers in preflight response (georgezim85)</li>
<li>Bug #17220: Fixed error when using non-InputWidget in active form field (s1lver)</li>
<li>Bug #17235: <code v-pre>yii\helpers\FileHelper::normalizePath()</code> now accepts stream wrappers (razvanphp)</li>
<li>Bug #17268: Fixed Formatter didn’t take power into account (samdark)</li>
</ul>
<h2 id="_2-0-17-march-22-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-17-march-22-2019"><span>2.0.17 March 22, 2019</span></a></h2>
<ul>
<li>Bug #9438, #13740, #15037: Handle DB session callback custom fields before session closed (lubosdz)</li>
<li>Bug #16158: Fix multiple select validation was trigged on other fields blur event (GHopperMSK)</li>
<li>Bug #16335: Fixed in <code v-pre>yii\filters\AccessRule::matchIP()</code> user IP validation with netmask in rule (omentes)</li>
<li>Bug #16681: <code v-pre>ActiveField::inputOptions</code> were not used during some widgets rendering (GHopperMSK)</li>
<li>Bug #17083: Fixed <code v-pre>yii\validators\EmailValidator::$checkDNS</code> tells that every domain is correct on alpine linux (mikk150)</li>
<li>Bug #17124: Fixed ErrorException when run <code v-pre>./yii fixture/unload</code> without arguments (ricpelo)</li>
<li>Bug #17127: <code v-pre>yii\db\ActiveRecord::findOne()</code> now accepts table aliases (albertborsos)</li>
<li>Bug #17133: Fixed aliases rendering during help generation for a console command (GHopperMSK)</li>
<li>Bug #17152: Fixed error page when using traceline option (asamats)</li>
<li>Bug #17156: Fixes PHP 7.2 warning when a data provider has no data as a parameter for a GridView (evilito)</li>
<li>Bug #17180: Do not populate <code v-pre>yii\web\Response::$response</code> when response code is 204 (mikk150)</li>
<li>Bug #17185: Fixed <code v-pre>AssetManager</code> timestamp appending when a file is published manually (GHopperMSK)</li>
<li>Bug #17215: Improved security for servers running PHP 7.0.0+ (brandonkelly)</li>
</ul>
<h2 id="_2-0-16-1-february-28-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-16-1-february-28-2019"><span>2.0.16.1 February 28, 2019</span></a></h2>
<ul>
<li>Bug #17089: Fixed caching of related records when <code v-pre>via()</code> using with callable (rugabarbo)</li>
<li>Bug #17094: Fixed response on 204 status. Now it is empty (GHopperMSK)</li>
<li>Bug #17098: Fixed message/extract when using message params returned from method calls (rugabarbo)</li>
<li>Bug #17150: Fixed <code v-pre>yii\helpers\BaseInflector::camel2words()</code> splitting <code v-pre>ALLCAPS</code> words on each letter (brandonkelly)</li>
<li>Bug #17093: Fixed regression in <code v-pre>DataProvider::totalCount</code> (samdark)</li>
</ul>
<h2 id="_2-0-16-january-30-2019" tabindex="-1"><a class="header-anchor" href="#_2-0-16-january-30-2019"><span>2.0.16 January 30, 2019</span></a></h2>
<ul>
<li>Bug #5341: HasMany via two relations (shirase, cebe)</li>
<li>Bug #10843: Additional hidden input rendered by <code v-pre>yii\helpers\BaseHtml</code> methods inherits <code v-pre>disabled</code> HTML option if provided and set to <code v-pre>true</code> (bizley)</li>
<li>Bug #11960: Fixed <code v-pre>checked</code> option ignore in <code v-pre>yii\helpers\BaseHtml::checkbox()</code> (misantron)</li>
<li>Bug #13932: Fix number validator attributes comparison (uaoleg, s1lver)</li>
<li>Bug #13977: Skip validation if file input does not exist (RobinKamps, s1lver)</li>
<li>Bug #14039, #16636: Fixed validation for disabled inputs (s1lver, omzy83)</li>
<li>Bug #14230: Fixed <code v-pre>itemsOptions</code> ignored in <code v-pre>checkBoxList</code> and <code v-pre>radioList</code> (s1lver)</li>
<li>Bug #14230: Fixed <code v-pre>itemsOptions</code> ignored in <code v-pre>checkBoxList</code> (s1lver)</li>
<li>Bug #14368: Added <code v-pre>role</code> attribute for active radio list (s1lver)</li>
<li>Bug #14636: Views can now use relative paths even when using themed views (sammousa)</li>
<li>Bug #14660: Fixed <code v-pre>yii\caching\DbCache</code> concurrency issue when set values with the same key (rugabarbo)</li>
<li>Bug #14759: Fixed <code v-pre>yii\web\JsonResponseFormatter</code> output for <code v-pre>null</code> data (misantron)</li>
<li>Bug #14901: Fixed trim validation for radio/checkbox button (s1lver)</li>
<li>Bug #14950: Fixed <code v-pre>yii\i18n\Formatter</code> methods <code v-pre>asInteger</code>, <code v-pre>asDecimal</code>, <code v-pre>asPercent</code>, and <code v-pre>asCurrency</code> outputs for very big numbers (bizley)</li>
<li>Bug #15117: Fixed <code v-pre>yii\db\Schema::getTableMetadata</code> cache refreshing (boboldehampsink)</li>
<li>Bug #15167: Fixed loading of default value <code v-pre>current_timestamp()</code> for MariaDB &gt;= 10.2.3 (rugabarbo, bloodrain777, Skinka)</li>
<li>Bug #15204: <code v-pre>yii\helpers\BaseInflector::slug()</code> is not removing substrings matching provided replacement from given string anymore (bizley)</li>
<li>Bug #15286: Fixed incorrect formatting of time with timezone information (rugabarbo)</li>
<li>Bug #15482: AR::find()-&gt;with() missing data when using string identifiers for relations (rugabarbo)</li>
<li>Bug #15528: Fix timestamp formatting to always use decimal notation in <code v-pre>yii\log\Target::getTime()</code> (rob006)</li>
<li>Bug #15548: Fixed index names collision in RBAC (gonimar)</li>
<li>Bug #15683: Fixed file as array uploading in MultipartFormDataParser (Groonya)</li>
<li>Bug #15791: Added a warning when the form names conflict (s1lver, rustamwin)</li>
<li>Bug #15798: Fixed render <code v-pre>yii\grid\RadioButtonColumn::$content</code> and <code v-pre>yii\grid\CheckboxColumn::$content</code> (lesha724)</li>
<li>Bug #15802: Fixed exception class in yii\di\Container (vuchastyi, developeruz)</li>
<li>Bug #15826: Fixed JavaScript compareValidator in <code v-pre>yii.validation.js</code> for attributes not in rules (mgrechanik)</li>
<li>Bug #15850: check basePath is writable on publish in AssetManager (Groonya)</li>
<li>Bug #15875: afterSave for new models flushes unsaved data (shirase)</li>
<li>Bug #15876: <code v-pre>yii\db\ActiveQuery::viaTable()</code> now throws <code v-pre>InvalidConfigException</code>, if query is not prepared correctly (silverfire)</li>
<li>Bug #15889: Fixed override <code v-pre>yii\helpers\Html::setActivePlaceholder</code> (lesha724)</li>
<li>Bug #15931: <code v-pre>yii\db\ActiveRecord::findOne()</code> now accepts quoted table and column names using curly and square braces respectively (silverfire)</li>
<li>Bug #15988: Fixed bash completion (alekciy)</li>
<li>Bug #16006: Handle case when <code v-pre>X-Forwarded-Host</code> header have multiple hosts separated with a comma (pgaultier)</li>
<li>Bug #16010: Fixed <code v-pre>yii\filters\ContentNegotiator</code> behavior when GET parameters contain an array (rugabarbo)</li>
<li>Bug #16022: Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in <code v-pre>jsonb</code> field (lav45)</li>
<li>Bug #16028: Fix serialization of complex cache keys that contain non-UTF sequences (rugabarbo)</li>
<li>Bug #16039: Fixed implicit conversion from <code v-pre>char</code> to <code v-pre>varbinnary</code> in MSSQL (vsivsivsi)</li>
<li>Bug #16068: Fixed <code v-pre>yii\web\CookieCollection::has</code> when an expiration param is set to ‘until the browser is closed’ (OndrejVasicek)</li>
<li>Bug #16073: Fixed regression in Oracle <code v-pre>IN</code> condition builder for more than 1000 items (cebe)</li>
<li>Bug #16081: Fixed composite IN using just one column (rugabarbo)</li>
<li>Bug #16091: Make <code v-pre>yii\test\InitDbFixture</code> work with non-SQL DBMS (cebe)</li>
<li>Bug #16101: Fixed Error Handler to clear registered meta tags, link tags, css/js scripts and files in error view (bizley)</li>
<li>Bug #16104: Fixed <code v-pre>yii\db\pgsql\QueryBuilder::dropIndex()</code> to prepend index name with schema name (wapmorgan)</li>
<li>Bug #16120: FileCache: rebuild cache file before touch when different file owner (Slamdunk)</li>
<li>Bug #16183: Fixed when <code v-pre>yii\helpers\BaseFileHelper</code> sometimes returned wrong value (samdark, SilverFire, OndrejVasicek)</li>
<li>Bug #16184: Fixed <code v-pre>yii\base\Widget</code> to access <code v-pre>stack</code> property with <code v-pre>self</code> instead of <code v-pre>static</code> (yanggs07)</li>
<li>Bug #16193: Fixed <code v-pre>yii\filters\Cors</code> to not reflect origin header value when configured to wildcard origins (Jianjun Chen)</li>
<li>Bug #16217: Fixed <code v-pre>yii\console\controllers\HelpController</code> to work well in Windows environment (samdark)</li>
<li>Bug #16245: Fixed <code v-pre>__isset()</code> in <code v-pre>BaseActiveRecord</code> not catching errors (sammousa)</li>
<li>Bug #16252: Fixed <code v-pre>yii\base\DynamicModel</code> for checking exist property (vuongxuongminh)</li>
<li>Bug #16253: Fixed empty checkboxlist validation (GHopperMSK)</li>
<li>Bug #16266: Fixed <code v-pre>yii\helpers\BaseStringHelper</code> where explode would not allow 0 as trim string (Thoulah)</li>
<li>Bug #16277: Fixed <code v-pre>yii\db\Query::from()</code> to respect <code v-pre>yii\db\ExpressionInterface</code> (noname007)</li>
<li>Bug #16278: Fixed drop existing views when console <code v-pre>migrate/fresh</code> command runs (developeruz)</li>
<li>Bug #16280: Fixed <code v-pre>yii\base\Model::getActiveValidators()</code> to return correct validators for attribute on scenario (paweljankowiak06)</li>
<li>Bug #16292: Fixed misconfigured CORS filter exception throwing. Now it throws <code v-pre>InvalidConfigException</code> in Debug mode (khvalov)</li>
<li>Bug #16301: Fixed <code v-pre>yii\web\User::setIdentity()</code> to clear access check cache while setting identity object to <code v-pre>null</code> (Izumi-kun)</li>
<li>Bug #16322: Fixed strings were not were not compared using timing attack resistant approach while CSRF token validation (samdark, Felix Wiedemann)</li>
<li>Bug #16331: Fixed console table without headers (rhertogh)</li>
<li>Bug #16377: Fixed <code v-pre>yii\base\Event:off()</code> undefined index error when event handler does not match (razvanphp)</li>
<li>Bug #16424: <code v-pre>yii\db\Transaction::begin()</code> throws now <code v-pre>NotSupportedException</code> for nested transaction and DBMS not supporting savepoints (bizley)</li>
<li>Bug #16425: Check for additional values for disabled confirm dialog (Alex-Code, s1lver)</li>
<li>Bug #16469: Allow cache to be specified as interface and to be configured in DI container (alexeevdv)</li>
<li>Bug #16490: Fix schema on rbac init (marcelodeandrade)</li>
<li>Bug #16514: Fixed <code v-pre>yii\di\Container::resolveCallableDependencies</code> to support callable object (wi1dcard)</li>
<li>Bug #16527: Fixed return content for <code v-pre>\yii\widgets\ActiveForm::run()</code> (carono)</li>
<li>Bug #16552: Added check in <code v-pre>yii\db\ActiveQuery::prepare()</code> to prevent populating already populated relation when another relation is requested with <code v-pre>via</code> (drlibra)</li>
<li>Bug #16558: Added cloning <code v-pre>yii\data\ActiveDataProvider::query</code> property when ActiveDataProvider object is cloned (mgrechanik)</li>
<li>Bug #16580: Delete unused php message files in MessageController if <code v-pre>$removeUnused</code> option is on (Groonya)</li>
<li>Bug #16648: Html::strtolower() was corrupting UTF-8 strings (Kolyunya)</li>
<li>Bug #16657: Ensure widgets after run event result contains the result of the rendered widget (AdeAttwood)</li>
<li>Bug #16666: Fixed <code v-pre>yii\helpers\ArrayHelper::merge</code> (rustamwin)</li>
<li>Bug #16680: Fixed ActiveField ‘text’ input with maxlength (s1lver)</li>
<li>Bug #16687: Add missing translations for <code v-pre>nl-NL</code> durations used in <code v-pre>yii\i18n\Formatter::asDuration()</code> (alexeevdv)</li>
<li>Bug #16716: The ability to filter by pressing the Enter key when the option <code v-pre>$filterOnFocusOut</code> off (s1lver)</li>
<li>Bug #16748: Fixed params when normalize data (marcelodeandrade)</li>
<li>Bug #16752: Fix rotating files under Windows (samdark, nadirvishun)</li>
<li>Bug #16766: <code v-pre>yii\filters\ContentNegotiator</code> was not setting <code v-pre>Vary</code> header to inform cache recipients (koteq, cebe, samdark)</li>
<li>Bug #16822: Create config dir recursively in message/config (Groonya)</li>
<li>Bug #16828: <code v-pre>yii\console\controllers\MessageController::translator</code> recognized object’ methods and functions calls as identical sets of tokens (erickskrauch)</li>
<li>Bug #16836: Fix <code v-pre>yii\mutex\MysqlMutex</code> to handle locks with names longer than 64 characters (rob006)</li>
<li>Bug #16838: <code v-pre>yii\mutex\Mutex::acquire()</code> no longer returns <code v-pre>true</code> if lock is already acquired by the same component in the same process (rob006)</li>
<li>Bug #16858: Allow <code v-pre>\yii\console\widgets\Table</code> to render empty table when headers provided but no columns (damiandziaduch)</li>
<li>Bug #16891: Fixed Pagination::totalCount initialized incorrectly (taobig)</li>
<li>Bug #16897: Fixed <code v-pre>yii\db\sqlite\Schema</code> missing primary key constraint detection in case of <code v-pre>INTEGER PRIMARY KEY</code> (bizley)</li>
<li>Bug #16903: Fixed ‘yii\validators\NumberValidator’ method ‘isNotNumber’ returns false for true/false value (annechko)</li>
<li>Bug #16910: Fix messages sorting on extract (Groonya)</li>
<li>Bug #16945: Fixed RBAC DbManager ruleName fetching on the case of PDO::ATTR_ORACLE_NULLS =&gt; PDO::NULL_TO_STRING (razonyang)</li>
<li>Bug #16959: Fixed typo in if condition inside <code v-pre>yii\web\DbSession::typecastFields()</code> that caused problems with session overwriting (silverfire)</li>
<li>Bug #16966: Fix ArrayExpression support in related tables (GHopperMSK)</li>
<li>Bug #16969: Fix <code v-pre>yii\filters\PageCache</code> incorrectly storing empty data in some cases (sammousa)</li>
<li>Bug #16974: Regular Expression Validator to include support for ‘u’ (UTF-8) modifier (Dzhuneyt)</li>
<li>Bug #16991: Removed usage of <code v-pre>utf8_encode()</code> from <code v-pre>Request::resolvePathInfo()</code> (GHopperMSK)</li>
<li>Bug #17021: Fix to do not remove existing message category files in a subfolder (albertborsos)</li>
<li>Bug: Fixed bad instanceof check in <code v-pre>yii\db\Schema::getTableMetadata()</code> (samdark)</li>
<li>Bug: (CVE-2018-14578): Fixed CSRF token check bypassing in <code v-pre>\yii\web\Request::getMethod()</code> (silverfire)</li>
<li>Bug: (CVE-2018-19454): Fixed excess logging of sensitive information in <code v-pre>\yii\log\Target</code> (silverfire)</li>
<li>Enh #9133: Added <code v-pre>yii\behaviors\OptimisticLockBehavior</code> (tunecino)</li>
<li>Enh #14289: Added <code v-pre>yii\db\Command::executeResetSequence()</code> to work with Oracle (CedricYii)</li>
<li>Enh #14367: In <code v-pre>yii\db\mysql\QueryBuilder</code> added support fractional seconds for time types for MySQL &gt;= 5.6.4 (konstantin-vl)</li>
<li>Enh #16151: <code v-pre>ActiveQuery::getTableNameAndAlias()</code> is now protected (s1lver)</li>
<li>Enh #16151: Change of scope for method <code v-pre>getTableNameAndAlias()</code> (s1lver)</li>
<li>Enh #16191: Enhanced <code v-pre>yii\helpers\Inflector</code> to work correctly with UTF-8 (silverfire)</li>
<li>Enh #16365: Added $filterOnFocusOut option for GridView (s1lver)</li>
<li>Enh #16522: Allow jQuery 3.3 (Slamdunk)</li>
<li>Enh #16603: Added <code v-pre>yii\mutex\FileMutex::$isWindows</code> for Windows file shares on Unix guest machines (brandonkelly)</li>
<li>Enh #16839: Increase frequency of lock tries for <code v-pre>yii\mutex\FileMutex::acquireLock()</code> when $timeout is provided (rob006)</li>
<li>Enh #16839: Add support for <code v-pre>$timeout</code> in <code v-pre>yii\mutex\PgsqlMutex::acquire()</code> (rob006)</li>
<li>Enh: <code v-pre>yii\helpers\UnsetArrayValue</code>, <code v-pre>yii\helpers\ReplaceArrayValue</code> object now can be restored after serialization using <code v-pre>var_export()</code> function (silvefire)</li>
<li>Chg #16192: <code v-pre>yii\db\Command::logQuery()</code> is now protected, extracted <code v-pre>getCacheKey()</code> from <code v-pre>queryInternal()</code> (drlibra)</li>
<li>Chg #16941: Set <code v-pre>yii\console\controllers\MigrateController::useTablePrefix</code> to true as default value (GHopperMSK)</li>
</ul>
<h2 id="_2-0-15-1-march-21-2018" tabindex="-1"><a class="header-anchor" href="#_2-0-15-1-march-21-2018"><span>2.0.15.1 March 21, 2018</span></a></h2>
<ul>
<li>Bug #15931: <code v-pre>yii\db\ActiveRecord::findOne()</code> now accepts column names prefixed with table name (cebe)</li>
</ul>
<h2 id="_2-0-15-march-20-2018" tabindex="-1"><a class="header-anchor" href="#_2-0-15-march-20-2018"><span>2.0.15 March 20, 2018</span></a></h2>
<ul>
<li>Bug #15688: (CVE-2018-7269): Fixed possible SQL injection through <code v-pre>yii\db\ActiveRecord::findOne()</code>, <code v-pre>::findAll()</code> (analitic1983, silverfire, cebe)</li>
<li>Bug #15878: Fixed migration with a comment containing an apostrophe (MarcoMoreno)</li>
</ul>
<h2 id="_2-0-14-2-march-13-2018" tabindex="-1"><a class="header-anchor" href="#_2-0-14-2-march-13-2018"><span>2.0.14.2 March 13, 2018</span></a></h2>
<ul>
<li>Bug #15776: Fixed slow MySQL constraints retrieving (MartijnHols, berosoboy, sergeymakinen)</li>
<li>Bug #15783: Regenerate CSRF token only when logging in directly (samdark)</li>
<li>Bug #15792: Added missing <code v-pre>yii\db\QueryBuilder::conditionClasses</code> setter (silverfire)</li>
<li>Bug #15801: Fixed <code v-pre>has-error</code> CSS class assignment in <code v-pre>yii\widgets\ActiveField</code> when attribute name is prefixed with tabular index (FabrizioCaldarelli)</li>
<li>Bug #15804: Fixed <code v-pre>null</code> values handling for PostgresSQL arrays (silverfire)</li>
<li>Bug #15817: Fixed support of deprecated array format type casting in <code v-pre>yii\db\Command::bindValues()</code> (silverfire)</li>
<li>Bug #15822: Fixed <code v-pre>yii\base\Component::off()</code> not to throw an exception when handler does not exist (silverfire)</li>
<li>Bug #15829: Fixed JSONB support in PostgreSQL 9.4 (silverfire)</li>
<li>Bug #15836: Fixed nesting of <code v-pre>yii\db\ArrayExpression</code>, <code v-pre>yii\db\JsonExpression</code> (silverfire)</li>
<li>Bug #15839: Fixed <code v-pre>yii\db\mysql\JsonExpressionBuilder</code> to cast JSON explicitly (silverfire)</li>
<li>Bug #15840: Fixed regression on load fixture data file (leandrogehlen)</li>
<li>Bug #15858: Fixed <code v-pre>Undefined offset</code> error calling <code v-pre>yii\helpers\Html::errorSummary()</code> with the same error messages for different model attributes (FabrizioCaldarelli, silverfire)</li>
<li>Bug #15863: Fixed saving of <code v-pre>null</code> attribute value for JSON and Array columns in MySQL and PostgreSQL (silverfire)</li>
<li>Bug: Fixed encoding of empty <code v-pre>yii\db\ArrayExpression</code> for PostgreSQL (silverfire)</li>
<li>Bug: Fixed table schema retrieving for PostgreSQL when the table name was wrapped in quotes (silverfire)</li>
</ul>
<h2 id="_2-0-14-1-february-24-2018" tabindex="-1"><a class="header-anchor" href="#_2-0-14-1-february-24-2018"><span>2.0.14.1 February 24, 2018</span></a></h2>
<ul>
<li>Bug #15318: Fixed <code v-pre>session_name(): Cannot change session name when session is active</code> errors (bscheshirwork, samdark)</li>
<li>Bug #15678: Fixed <code v-pre>resetForm()</code> method in <code v-pre>yii.activeForm.js</code> which used an undefined variable (Izumi-kun)</li>
<li>Bug #15692: Fix <code v-pre>yii\validators\ExistValidator</code> to respect filter when <code v-pre>targetRelation</code> is used (developeruz)</li>
<li>Bug #15693: Fixed <code v-pre>yii\filters\auth\HttpHeaderAuth</code> to work correctly when pattern is set but was not matched (bboure)</li>
<li>Bug #15696: Fix magic getter for <code v-pre>yii\db\ActiveRecord</code> (developeruz)</li>
<li>Bug #15707: Fixed JSON retrieving from MySQL (silverfire)</li>
<li>Bug #15708: Fixed <code v-pre>yii\db\Command::upsert()</code> for Cubrid/MSSQL/Oracle (sergeymakinen)</li>
<li>Bug #15724: Changed shortcut in <code v-pre>yii\console\controllers\BaseMigrateController</code> for <code v-pre>comment</code> option from <code v-pre>-c</code> to <code v-pre>-C</code> due to conflict (Izumi-kun)</li>
<li>Bug #15726: Fix ExistValidator is broken for NOSQL (developeruz)</li>
<li>Bug #15728, #15731: Fixed BC break in <code v-pre>Query::select()</code> method (silverfire)</li>
<li>Bug #15742: Updated <code v-pre>yii\helpers\BaseHtml::setActivePlaceholder()</code> to be consistent with <code v-pre>activeLabel()</code> (edwards-sj)</li>
<li>Enh #15716: Added <code v-pre>disableJsonSupport</code> to MySQL and PgSQL <code v-pre>ColumnSchema</code>, <code v-pre>disableArraySupport</code> and <code v-pre>deserializeArrayColumnToArrayExpression</code> to PgSQL <code v-pre>ColumnSchema</code> (silverfire)</li>
<li>Enh #15716: Implemented <code v-pre>\Traversable</code> in <code v-pre>yii\db\ArrayExpression</code> (silverfire)</li>
<li>Enh #15760: Added <code v-pre>ArrayAccess</code> support as validated value in <code v-pre>yii\validators\EachValidator</code> (silverfire)</li>
</ul>
<h2 id="_2-0-14-february-18-2018" tabindex="-1"><a class="header-anchor" href="#_2-0-14-february-18-2018"><span>2.0.14 February 18, 2018</span></a></h2>
<ul>
<li>Bug #8983: Only truncate the original log file for rotation (matthewyang, developeruz)</li>
<li>Bug #9342: Fixed <code v-pre>yii\db\ActiveQueryTrait</code> to apply <code v-pre>indexBy</code> after relations population in order to prevent excess queries (sammousa, silverfire)</li>
<li>Bug #11401: Fixed <code v-pre>yii\web\DbSession</code> concurrency issues when writing and regenerating IDs (samdark, andreasanta, cebe)</li>
<li>Bug #13034: Fixed <code v-pre>normalizePath</code> for windows network shares that start with two backslashes (developeruz)</li>
<li>Bug #14135: Fixed <code v-pre>yii\web\Request::getBodyParam()</code> crashes on object type body params (klimov-paul)</li>
<li>Bug #14157: Add support for loading default value <code v-pre>CURRENT_TIMESTAMP</code> of MySQL <code v-pre>datetime</code> field (rossoneri)</li>
<li>Bug #14276: Fixed I18N format with dotted parameters (developeruz)</li>
<li>Bug #14296: Fixed log targets to throw exception in case log can not be properly exported (bizley)</li>
<li>Bug #14484: Fixed <code v-pre>yii\validators\UniqueValidator</code> for target classes with a default scope (laszlovl, developeruz)</li>
<li>Bug #14604: Fixed <code v-pre>yii\validators\CompareValidator</code> <code v-pre>compareAttribute</code> does not work if <code v-pre>compareAttribute</code> form ID has been changed (mikk150)</li>
<li>Bug #14711: (CVE-2018-6010): Fixed <code v-pre>yii\web\ErrorHandler</code> displaying exception message in non-debug mode (samdark)</li>
<li>Bug #14811: Fixed <code v-pre>yii\filters\HttpCache</code> to work with PHP 7.2 (samdark)</li>
<li>Bug #14859: Fixed OCI DB <code v-pre>defaultSchema</code> failure when <code v-pre>masterConfig</code> is used (lovezhl456)</li>
<li>Bug #14903: Fixed route with extra dashes is executed controller while it should not (developeruz)</li>
<li>Bug #14916: Fixed <code v-pre>yii\db\Query::each()</code> iterator key starts from 1 instead of 0 (Vovan-VE)</li>
<li>Bug #14980: Fix looping in <code v-pre>yii\i18n\MessageFormatter</code> tokenize pattern if pattern is invalid (uaoleg, developeruz)</li>
<li>Bug #15031: Fixed incorrect string type length detection for OCI DB schema (Murolike)</li>
<li>Bug #15046: Throw an <code v-pre>yii\web\HeadersAlreadySentException</code> if headers were sent before web response (dmirogin)</li>
<li>Bug #15122: Fixed <code v-pre>yii\db\Command::getRawSql()</code> to properly replace expressions (hiscaler, samdark)</li>
<li>Bug #15142: Fixed array params replacing in <code v-pre>yii\helpers\BaseUrl::current()</code> (IceJOKER)</li>
<li>Bug #15169: Fixed translating a string when NULL parameter is passed (developeruz)</li>
<li>Bug #15194: Fixed <code v-pre>yii\db\QueryBuilder::insert()</code> to preserve passed params when building a <code v-pre>INSERT INTO ... SELECT</code> query for MSSQL, PostgreSQL and SQLite (sergeymakinen)</li>
<li>Bug #15229: Fixed <code v-pre>yii\console\widgets\Table</code> default value for <code v-pre>getScreenWidth()</code>, when <code v-pre>Console::getScreenSize()</code> can’t determine screen size (webleaf)</li>
<li>Bug #15234: Fixed <code v-pre>\yii\widgets\LinkPager</code> removed <code v-pre>tag</code> from <code v-pre>disabledListItemSubTagOptions</code> (SDKiller)</li>
<li>Bug #15249: Controllers in subdirectories were not visible in commands list (IceJOKER)</li>
<li>Bug #15270: Resolved potential race conditions when writing generated php-files (kalessil)</li>
<li>Bug #15300: Fixed “Cannot read property ‘style’ of undefined” error at the error screen (vitorarantes)</li>
<li>Bug #15301: Fixed <code v-pre>ArrayHelper::filter()</code> to work properly with <code v-pre>0</code> in values (hhniao)</li>
<li>Bug #15302: Fixed <code v-pre>yii\caching\DbCache</code> so that <code v-pre>getValues</code> now behaves the same as <code v-pre>getValue</code> with regards to streams (edwards-sj)</li>
<li>Bug #15317: Regenerate CSRF token if an empty value is given (sammousa)</li>
<li>Bug #15320: Fixed special role checks in <code v-pre>yii\filters\AccessRule::matchRole()</code> (Izumi-kun)</li>
<li>Bug #15322: Fixed PHP 7.2 compatibility of <code v-pre>FileHelper::getExtensionsByMimeType()</code> (samdark)</li>
<li>Bug #15353: Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13 (terales)</li>
<li>Bug #15355: Fixed <code v-pre>yii\db\Query::from()</code> does not work with <code v-pre>yii\db\Expression</code> (vladis84, silverfire, samdark)</li>
<li>Bug #15356: Fixed multiple bugs in <code v-pre>yii\db\Query::getTablesUsedInFrom()</code> (vladis84, samdark)</li>
<li>Bug #15380: <code v-pre>FormatConverter::convertDateIcuToPhp()</code> now converts <code v-pre>a</code> ICU symbols to <code v-pre>A</code> (brandonkelly)</li>
<li>Bug #15407: Fixed rendering rows with associative arrays in <code v-pre>yii\console\widgets\Table</code> (dmrogin)</li>
<li>Bug #15432: Fixed wrong value being set in <code v-pre>yii\filters\RateLimiter::checkRateLimit()</code> resulting in wrong <code v-pre>X-Rate-Limit-Reset</code> header value (bizley)</li>
<li>Bug #15440: Fixed <code v-pre>yii\behaviors\AttributeTypecastBehavior::$attributeTypes</code> auto-detection fails for rule, which specify attribute with ‘!’ prefix (klimov-paul)</li>
<li>Bug #15462: Fixed <code v-pre>accessChecker</code> configuration error (developeruz)</li>
<li>Bug #15494: Fixed missing <code v-pre>WWW-Authenticate</code> header (developeruz)</li>
<li>Bug #15522: Fixed <code v-pre>yii\db\ActiveRecord::refresh()</code> method does not use an alias in the condition (vladis84)</li>
<li>Bug #15523: <code v-pre>yii\web\Session</code> settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)</li>
<li>Bug #15536: Fixed <code v-pre>yii\widgets\ActiveForm::init()</code> for call <code v-pre>parent::init()</code> (panchenkodv)</li>
<li>Bug #15540: Fixed <code v-pre>yii\db\ActiveRecord::with()</code> unable to use relation defined via attached behavior in case <code v-pre>asArray</code> is enabled (klimov-paul)</li>
<li>Bug #15553: Fixed <code v-pre>yii\validators\NumberValidator</code> incorrectly validate resource (developeruz)</li>
<li>Bug #15621: Fixed <code v-pre>yii\web\User::getIdentity()</code> returning <code v-pre>null</code> if an exception had been thrown when it was called previously (brandonkelly)</li>
<li>Bug #15628: Fixed <code v-pre>yii\validators\DateValidator</code> to respect time when the <code v-pre>format</code> property is set to UNIX Epoch format (silverfire, gayHacker)</li>
<li>Bug #15644: Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero (berosoboy)</li>
<li>Bug #15658: Fixed <code v-pre>yii\filters\auth\HttpBasicAuth</code> not to switch identity, when user is already authenticated and identity does not get changed (silverfire)</li>
<li>Bug #15662: Fixed <code v-pre>yii\log\FileTarget</code> not to create log directory during init process (alexeevdv)</li>
<li>Enh #3087: Added <code v-pre>yii\helpers\BaseHtml::error()</code> “errorSource” option to be able to customize errors display (yanggs07, developeruz, silverfire)</li>
<li>Enh #3250: Added support for events partial wildcard matching (klimov-paul)</li>
<li>Enh #5515: Added default value for <code v-pre>yii\behaviors\BlameableBehavior</code> for cases when the user is guest (dmirogin)</li>
<li>Enh #6844: <code v-pre>yii\base\ArrayableTrait::toArray()</code> now allows recursive <code v-pre>$fields</code> and <code v-pre>$expand</code> (bboure)</li>
<li>Enh #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL (silverfire, cebe)</li>
<li>Enh #7988: Added <code v-pre>\yii\helpers\Console::errorSummary()</code> and <code v-pre>\yii\helpers\Json::errorSummary()</code> (developeruz)</li>
<li>Enh #7996: Short syntax for verb in GroupUrlRule (schojniak, developeruz)</li>
<li>Enh #8092: ExistValidator for relations (developeruz)</li>
<li>Enh #8527: Added <code v-pre>yii\i18n\Locale</code> component having <code v-pre>getCurrencySymbol()</code> method (amarox, samdark)</li>
<li>Enh #8752: Allow specify <code v-pre>$attributeNames</code> as a string for <code v-pre>yii\base\Model</code> <code v-pre>validate()</code> method (developeruz)</li>
<li>Enh #9137: Added <code v-pre>Access-Control-Allow-Method</code> header for the OPTIONS request (developeruz)</li>
<li>Enh #9253: Allow <code v-pre>variations</code> to be a string for <code v-pre>yii\filters\PageCache</code> and <code v-pre>yii\widgets\FragmentCache</code> (schojniak, developeruz)</li>
<li>Enh #9771: Assign hidden input with its own set of HTML options via <code v-pre>$hiddenOptions</code> in activeFileInput <code v-pre>$options</code> (HanafiAhmat)</li>
<li>Enh #10186: Use native <code v-pre>hash_equals</code> in <code v-pre>yii\base\Security::compareString()</code> if available, throw exception if non-strings are compared (aotd1, samdark)</li>
<li>Enh #11611: Added <code v-pre>BetweenColumnsCondition</code> to build SQL condition like <code v-pre>value BETWEEN col1 and col2</code> (silverfire)</li>
<li>Enh #12623: Added <code v-pre>yii\helpers\StringHelper::matchWildcard()</code> replacing usage of <code v-pre>fnmatch()</code>, which may be unreliable (klimov-paul)</li>
<li>Enh #13019: Support JSON in SchemaBuilderTrait (zhukovra, undefinedor)</li>
<li>Enh #13425: Added caching of dynamically added URL rules with <code v-pre>yii\web\UrlManager::addRules()</code> (scriptcube, silverfire)</li>
<li>Enh #13465: Added <code v-pre>yii\helpers\FileHelper::findDirectories()</code> method (ArsSirek, developeruz)</li>
<li>Enh #13618: Active Record now resets related models after corresponding attributes updates (Kolyunya, rob006)</li>
<li>Enh #13679: Added <code v-pre>yii\behaviors\CacheableWidgetBehavior</code> (Kolyunya)</li>
<li>Enh #13814: MySQL unique index names can now contain spaces (df2)</li>
<li>Enh #13879: Added upsert support for <code v-pre>yii\db\QueryBuilder</code>, <code v-pre>yii\db\Command</code>, and <code v-pre>yii\db\Migration</code> (sergeymakinen)</li>
<li>Enh #13919: Added option to add comment for created table to migration console command (mixartemev, developeruz)</li>
<li>Enh #13996: Added <code v-pre>yii\web\View::registerJsVar()</code> method that allows registering JavaScript variables (Eseperio, samdark)</li>
<li>Enh #14043: Added <code v-pre>yii\helpers\IpHelper</code> (silverfire, cebe)</li>
<li>Enh #14254: add an option to specify whether validator is forced to always use master DB for <code v-pre>yii\validators\UniqueValidator</code> and <code v-pre>yii\validators\ExistValidator</code> (rossoneri, samdark)</li>
<li>Enh #14355: Added ability to pass an empty array as a parameter in console command (developeruz)</li>
<li>Enh #14488: Added support for X-Forwarded-Host to <code v-pre>yii\web\Request</code>, fixed <code v-pre>getServerPort()</code> usage (si294r, samdark)</li>
<li>Enh #14538: Added <code v-pre>yii\behaviors\AttributeTypecastBehavior::typecastAfterSave</code> property (littlefuntik, silverfire)</li>
<li>Enh #14546: Added <code v-pre>dataDirectory</code> property into <code v-pre>BaseActiveFixture</code> (leandrogehlen)</li>
<li>Enh #14568: Refactored migration templates to use <code v-pre>safeUp()</code> and <code v-pre>safeDown()</code> methods (Kolyunya)</li>
<li>Enh #14638: Added <code v-pre>yii\db\SchemaBuilderTrait::tinyInteger()</code> (rob006)</li>
<li>Enh #14643: Added <code v-pre>yii\web\ErrorAction::$layout</code> property to conveniently set layout from error action config (swods, cebe, samdark)</li>
<li>Enh #14662: Added support for custom <code v-pre>Content-Type</code> specification to <code v-pre>yii\web\JsonResponseFormatter</code> (Kolyunya)</li>
<li>Enh #14732, #11218, #14810, #10855: It is now possible to pass <code v-pre>yii\db\Query</code> anywhere, where <code v-pre>yii\db\Expression</code> was supported (silverfire)</li>
<li>Enh #14806: Added $placeFooterAfterBody option for GridView (terehru)</li>
<li>Enh #15024: <code v-pre>yii\web\Pjax</code> widget does not prevent CSS files from sending anymore because they are handled by client-side plugin correctly (onmotion)</li>
<li>Enh #15047: <code v-pre>yii\db\Query::select()</code> and <code v-pre>yii\db\Query::addSelect()</code> now check for duplicate column names (wapmorgan)</li>
<li>Enh #15076: Improve <code v-pre>yii\db\QueryBuilder::buildColumns()</code> to throw exception on invalid input (hiscaler)</li>
<li>Enh #15120: Refactored dynamic caching introducing <code v-pre>DynamicContentAwareInterface</code> and <code v-pre>DynamicContentAwareTrait</code> (sergeymakinen)</li>
<li>Enh #15135: Automatic completion for help in bash and zsh (Valkeru)</li>
<li>Enh #15216: Added <code v-pre>yii\web\ErrorHandler::$traceLine</code> to allow opening file at line clicked in IDE (vladis84)</li>
<li>Enh #15219: Added <code v-pre>yii\filters\auth\HttpHeaderAuth</code> (bboure)</li>
<li>Enh #15221: Added support for specifying <code v-pre>--camelCase</code> console options in <code v-pre>--kebab-case</code> (brandonkelly)</li>
<li>Enh #15221: Added support for the <code v-pre>--&lt;option&gt; &lt;value&gt;</code> console option syntax (brandonkelly)</li>
<li>Enh #15221: Improved the <code v-pre>help/list-action-options</code> console command output for command options without a description (brandonkelly)</li>
<li>Enh #15226: Auto generate placeholder from fields (vladis84)</li>
<li>Enh #15272: Removed type attribute from script tag (aleksbelic)</li>
<li>Enh #15332: Always check for availability of <code v-pre>openssl_pseudo_random_bytes</code>, even if LibreSSL is available (sammousa)</li>
<li>Enh #15335: Added <code v-pre>FileHelper::unlink()</code> that works well under all OSes (samdark)</li>
<li>Enh #15340: Test CHANGELOG.md for valid format (sammousa)</li>
<li>Enh #15347: Add <code v-pre>Instance</code> support for object property in DI container (kojit2009)</li>
<li>Enh #15357: Added multi statement support for <code v-pre>yii\db\sqlite\Command</code> (sergeymakinen)</li>
<li>Enh #15360: Refactored <code v-pre>BaseConsole::updateProgress()</code> (developeruz)</li>
<li>Enh #15398: Added <code v-pre>yii\db\Query::cache()</code> (hubeiwei, silverfire)</li>
<li>Enh #15415: Added transaction/retry support for <code v-pre>yii\db\Command</code> (sergeymakinen)</li>
<li>Enh #15417: Added <code v-pre>yii\validators\FileValidator::$minFiles</code> (vladis84)</li>
<li>Enh #15422: Added default roles dynamic definition support via closure for <code v-pre>yii\rbac\BaseManager</code> (deltacube)</li>
<li>Enh #15426: Added abilitiy to create and drop database views (igravity, vladis84)</li>
<li>Enh #15476: Added <code v-pre>\yii\widgets\ActiveForm::$validationStateOn</code> to be able to specify where to add class for invalid fields (samdark)</li>
<li>Enh #15496: (CVE-2018-6009): CSRF token is now regenerated on changing identity (samdark, rhertogh)</li>
<li>Enh #15595: <code v-pre>yii\data\DataFilter</code> can now handle <code v-pre>lt</code>,<code v-pre>gt</code>,<code v-pre>lte</code> and <code v-pre>gte</code> on <code v-pre>yii\validators\DateValidator</code> (mikk150)</li>
<li>Enh #15661: Added <code v-pre>yii\db\ExpressionInterface</code> support to <code v-pre>yii\db\Command::batchInsert()</code> (silverfire)</li>
<li>Enh: Added check to <code v-pre>yii\base\Model::formName()</code> to prevent source path disclosure when form is represented by an anonymous class (silverfire)</li>
<li>Chg #15420: Handle OPTIONS request in <code v-pre>yii\filter\Cors</code> so the preflight check isn’t passed trough authentication filters (michaelarnauts, leandrogehlen)</li>
<li>Chg #15625: <code v-pre>yii\grid\DataColumn</code> boolean filter dropdown list values are now in reversed order (bizley)</li>
<li>Chg #15633: Deprecated <code v-pre>yii\base\BaseObject::className()</code> in favor of native PHP syntax <code v-pre>::class</code>, which does not trigger autoloading (brandonkelly)</li>
<li>Chg #15633: Deprecated XCache and Zend data cache support as caching backends (brandonkelly)</li>
<li>Chg #15633: Deprecated <code v-pre>yii\BaseYii::powered()</code> method (brandonkelly)</li>
<li>Chg #15633: Added <code v-pre>yii\base\InvalidArgumentException</code> and deprecated <code v-pre>yii\base\InvalidParamException</code> (brandonkelly)</li>
<li>Chg #15633: Added <code v-pre>yii\BaseYii::debug()</code> and deprecated <code v-pre>yii\BaseYii::trace()</code> (brandonkelly)</li>
</ul>
<h2 id="_2-0-13-1-november-14-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-13-1-november-14-2017"><span>2.0.13.1 November 14, 2017</span></a></h2>
<ul>
<li>Bug #15081: Fixed “Undefined offset: 1” in log Target (ischenko)</li>
<li>Bug #15086: Fixed jQuery onLoad event handling (alexantr)</li>
<li>Bug #15108: Fixed <code v-pre>yii\db\Schema::getSchemaNames()</code> for MSSQL and added tests for all DBMSes (sergeymakinen)</li>
<li>Bug #15117: Fixed DB schema cache did not honor table prefixes (sergeymakinen)</li>
</ul>
<h2 id="_2-0-13-november-03-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-13-november-03-2017"><span>2.0.13 November 03, 2017</span></a></h2>
<ul>
<li>Bug #6226: Fix fatal symlink error during assets publishing in multi threaded environment (dynasource)</li>
<li>Bug #6526: Fixed <code v-pre>yii\db\Command::batchInsert()</code> casting of double values correctly independent of the locale (cebe, leammas)</li>
<li>Bug #6588: Fixed changing array keys after validation of multiple files in <code v-pre>yii\validators\FileValidator</code> (developeruz)</li>
<li>Bug #7890: Allow <code v-pre>migrate/mark</code> to mark history at the point of the base migration (cebe)</li>
<li>Bug #11242: Fixed excess escaping in <code v-pre>yii\db\Command::batchInsert()</code> (silverfire)</li>
<li>Bug #11825: User can login by cookie only once when <code v-pre>autoRenewCookie</code> is set to false (shirase, silverfire)</li>
<li>Bug #12860: Fixed possible race conditions in <code v-pre>yii\mutex\FileMutex</code> (kidol)</li>
<li>Bug #13258: Fixed <code v-pre>yii\mutex\FileMutex::$autoRelease</code> having no effect due to missing base class initialization (kidol)</li>
<li>Bug #13436: Fixed migration for MSSQL DbSession (silverfire)</li>
<li>Bug #13564: Fixed <code v-pre>yii\web\Request::getAuthUser()</code>, <code v-pre>getAuthPassword()</code> to respect <code v-pre>HTTP_AUTHORIZATION</code> request header (silverfire)</li>
<li>Bug #13720: Improve <code v-pre>yii\helpers\FormatConverter::convertDatePhpToIcu()</code> to handle escaped chars correctly (rob006)</li>
<li>Bug #13757: Fixed ambiguous column error in <code v-pre>BaseActiveRecord::refresh()</code> when the query adds a JOIN by default (cebe, ivankff)</li>
<li>Bug #13779: Fixed <code v-pre>yii\db\ActiveRecord::joinWith()</code> unable to use relation defined via attached behavior (ElisDN, klimov-paul)</li>
<li>Bug #13859: Fixed ambiguous column error in <code v-pre>Query::column()</code> when <code v-pre>$indexBy</code> is used with a JOIN (cebe)</li>
<li>Bug #13969: Fixed a bug in a <code v-pre>yii\console\controllers\CacheController</code> when caches defined via a closure were not detected (Kolyunya)</li>
<li>Bug #14016: Fixed empty messages marked as unused in PHP and PO sources when extracted with message command when <code v-pre>markUnused</code> is <code v-pre>false</code> (samdark)</li>
<li>Bug #14129: Fixed console help to properly work with tricky camelcased controller names (samdark, silverfire)</li>
<li>Bug #14134: Fixed multiple <code v-pre>validateAttribute()</code> calls when <code v-pre>scenarios()</code> returns duplicate attributes (krukru)</li>
<li>Bug #14165: Set <code v-pre>_slave</code> of <code v-pre>Connection</code> to <code v-pre>false</code> instead of <code v-pre>null</code> in <code v-pre>close</code> method (rossoneri)</li>
<li>Bug #14186: Forced validation in <code v-pre>yiiActiveForm</code> do not trigger <code v-pre>afterValidate</code> event (arogachev)</li>
<li>Bug #14192: Fixed wrong default null value for TIMESTAMP when using PostgreSQL (Tigrov)</li>
<li>Bug #14202: Fixed current time in (UTC) <code v-pre>\Yii::$app-&gt;formatter</code> if time not set (bscheshirwork)</li>
<li>Bug #14206: <code v-pre>MySqlMutex</code>, <code v-pre>PgsqlMutex</code> and <code v-pre>OracleMutex</code> now use <code v-pre>useMaster()</code> to ensure lock is aquired on the same DB server (cebe, ryusoft)</li>
<li>Bug #14248: <code v-pre>yii\console\controllers\MessageController</code> no longer outputs colorized filenames when console does not support text colorization (PowerGamer1)</li>
<li>Bug #14264: Fixed a bug where <code v-pre>yii\log\Logger::calculateTimings()</code> was not accepting messages with array tokens (bizley)</li>
<li>Bug #14269: Fixed broken error page when calling an undefined method (cebe)</li>
<li>Bug #14304: Fixed <code v-pre>yii\validators\UniqueValidator</code> and <code v-pre>yii\validators\ExistValidator</code> to skip prefixes in case expressions are used (samdark)</li>
<li>Bug #14307: Fixed PHP warning when <code v-pre>yii\console\UnknownCommandException</code> is thrown for empty command (rob006)</li>
<li>Bug #14318: Trigger <code v-pre>yiiActiveForm.events.afterValidateAttribute</code> after updating attribute (dmirogin)</li>
<li>Bug #14334: Fixed <code v-pre>\yii\db\QueryBuilder::buildNotCondition</code> loses params when operand is <code v-pre>\yii\db\Expression</code> (Ni-san)</li>
<li>Bug #14341: Fixed regression in error handling introduced by fixing #14264 (samdark)</li>
<li>Bug #14370: Fixed creating built-in validator in model with same function name (dmirogin)</li>
<li>Bug #14406: Fixed caching rules in <code v-pre>yii\web\UrlManager</code> with different ruleConfig configuration (dmirogin)</li>
<li>Bug #14423: Fixed <code v-pre>ArrayHelper::merge</code> behavior with null values for integer-keyed elements (dmirogin)</li>
<li>Bug #14449: Fix PHP 7.2 compatibility bugs and add explicit closure support in <code v-pre>yii\base\Application</code> (dynasource)</li>
<li>Bug #14471: <code v-pre>ContentNegotiator</code> will always set one of the configured server response formats even if the client does not accept any of them (PowerGamer1)</li>
<li>Bug #14492: Fixed error handler not escaping error info in debug mode, see CVE-2017-11516 (samdark)</li>
<li>Bug #14493: Fixed getting permissions in <code v-pre>yii\rbac\Dbmanger::getPermissionsByUser</code> by user with id equals 0 (dmirogin)</li>
<li>Bug #14510: The state of a form is always “not validated” when using forced validation in <code v-pre>yiiActiveForm</code> (arogachev)</li>
<li>Bug #14523: Added <code v-pre>yii\web\MultipartFormDataParser::$force</code> option allowing to enforce parsing even on ‘POST’ request (klimov-paul)</li>
<li>Bug #14525: Fixed 2.0.12 regression of loading of global fixtures trough <code v-pre>yii fixture/load</code> (michaelarnauts)</li>
<li>Bug #14533: Fixed <code v-pre>yii\validators\ExistValidator</code> and <code v-pre>yii\validators\UniqueValidator</code> throw exception in case they are set for <code v-pre>yii\db\ActiveRecord</code> with <code v-pre>$targetClass</code> pointing to NOSQL ActiveRecord (klimov-paul)</li>
<li>Bug #14542: Ensured only ASCII characters are in CSRF cookie value since binary data causes issues with ModSecurity and some browsers (samdark)</li>
<li>Bug #14543: Throw exception when trying to create migration longer than 180 symbols (dmirogin, cebe)</li>
<li>Bug #14596: Fix event call on init in <code v-pre>yii\widgets\BaseListView</code> (panchenkodv)</li>
<li>Bug #14697: Fixed <code v-pre>console\widgets\Table</code> rendering when there’s no data supplied (bscheshirwork)</li>
<li>Bug #14723: Fixed serialization of <code v-pre>yii\db\Connection</code> instance closes database connection (klimov-paul)</li>
<li>Bug #14773: Fixed <code v-pre>yii\widgets\ActiveField::$options</code> does not support ‘class’ option in array format (klimov-paul)</li>
<li>Bug #14902: Fixed PHP notice in <code v-pre>yii\web\MultipartFormDataParser</code> (olimsaidov)</li>
<li>Bug #14921: Fixed bug with replacing numeric keys in <code v-pre>yii\helpers\Url::current()</code> (rob006)</li>
<li>Enh #4479: Implemented REST filters (klimov-paul)</li>
<li>Enh #4495: Added closure support in <code v-pre>yii\i18n\Formatter</code> (developeruz)</li>
<li>Enh #5786: Allowed to use custom constructors in ActiveRecord-based classes (ElisDN, klimov-paul)</li>
<li>Enh #6644: Added <code v-pre>yii\helpers\ArrayHelper::setValue()</code> (LAV45)</li>
<li>Enh #7823: Added <code v-pre>yii\filters\AjaxFilter</code> filter (dmirogin)</li>
<li>Enh #9438: <code v-pre>yii\web\DbSession</code> now relies on error handler to display errors (samdark)</li>
<li>Enh #9703, #9709: Added <code v-pre>yii\i18n\Formatter::asWeight()</code> and <code v-pre>::asLength()</code> formatters (nineinchnick, silverfire)</li>
<li>Enh #11415: Added <code v-pre>yii\console\widgets\Table</code> to draw tables in console apps (pana1990, rob006, samdark, tonykor)</li>
<li>Enh #13254: Made <code v-pre>yii\helpers\StringHelper</code> and <code v-pre>yii\validators\StringValidator</code> independent of <code v-pre>Yii::$app</code> instance (cebe)</li>
<li>Enh #13378: Added <code v-pre>yii\behaviors\SluggableBehaviour::skipOnEmpty</code> option (andrewnester)</li>
<li>Enh #13403: Added ‘permissions’ additionally to ‘roles’ in <code v-pre>yii\filters\AccessRule</code> in order to be able to specify these separately (thyseus)</li>
<li>Enh #13486: Use DI container to instantiate cookies in order to be able to set defaults (samdark)</li>
<li>Enh #13586: Added <code v-pre>$preserveNonEmptyValues</code> property to the <code v-pre>yii\behaviors\AttributeBehavior</code> (Kolyunya)</li>
<li>Enh #13780: Added support for trusted proxies in <code v-pre>yii\web\Request</code> (sammousa, cebe, silverfire)</li>
<li>Enh #13787: Added <code v-pre>yii\db\Migration::$maxSqlOutputLength</code> that allows limiting number of characters for outputting SQL (thiagotalma)</li>
<li>Enh #13824: Support extracting concatenated strings in <code v-pre>yii message</code> (developeruz)</li>
<li>Enh #13835: Added <code v-pre>yii\web\Request::getOrigin()</code> method that returns <code v-pre>HTTP_ORIGIN</code> of current CORS request (yyxx9988)</li>
<li>Enh #13853: Added <code v-pre>yii\db\Migration::$compact</code> as well as <code v-pre>yii\console\controllers\BaseMigrateController::$compact</code> to allow making the migration console output more compact (francislavoie)</li>
<li>Enh #14022: <code v-pre>yii\web\UrlManager::setBaseUrl()</code> now supports aliases (dmirogin)</li>
<li>Enh #14061: Added request scope assignments cache to <code v-pre>yii\rbac\DbManager::checkAccess()</code> to avoid duplicate queries for user assignments (leandrogehlen, cebe, nineinchnick, ryusoft)</li>
<li>Enh #14081: Added <code v-pre>yii\caching\CacheInterface</code> to make custom cache extensions adoption easier (silverfire)</li>
<li>Enh #14087: Added <code v-pre>yii\web\View::registerCsrfMetaTags()</code> method that registers CSRF tags dynamically ensuring that caching doesn’t interfere (RobinKamps)</li>
<li>Enh #14089: Added tests for <code v-pre>yii\base\Theme</code> (vladis84)</li>
<li>Enh #14105: Implemented a solution for retrieving DBMS constraints in <code v-pre>yii\db\Schema</code> (sergeymakinen)</li>
<li>Enh #14126: Added variadic parameters support to DI container (SamMousa)</li>
<li>Enh #14151: Added <code v-pre>yii\behaviors\AttributesBehavior</code> that assigns values specified to one or multiple attributes of an AR object when certain events happen (bscheshirwork)</li>
<li>Enh #14184: Module service locator now falls back to its parent module service locator in case component isn’t found (SamMousa)</li>
<li>Enh #14188: Add constants and function for sysexits(3) to <code v-pre>ConsoleHelper</code> (tom–, samdark, cebe)</li>
<li>Enh #14273: <code v-pre>yii\log\Target::$enabled</code> now supports callable value (dmirogin)</li>
<li>Enh #14294: Added <code v-pre>InputWidget::renderInput()</code> to move behavior described in <code v-pre>InputWidget</code> class docs to the class itself (cebe)</li>
<li>Enh #14298: The default response formatter configs defined by <code v-pre>yii\web\Response::defaultFormatters()</code> now use the array syntax (brandonkelly)</li>
<li>Enh #14363: Added <code v-pre>yii\widgets\LinkPager::$linkContainerOptions</code> and possibility to override tag in <code v-pre>yii\widgets\LinkPager::$options</code> (dmirogin)</li>
<li>Enh #14389: Optimize <code v-pre>Validator::validateAttributes()</code> by calling <code v-pre>attributeNames()</code> only once (nicdnep)</li>
<li>Enh #14417: Added configuration for headers in PHP files generated by <code v-pre>message/extract</code> command (rob006)</li>
<li>Enh #14431: Moved <code v-pre>ActiveQuery::getTablesUsedInFrom()</code> to <code v-pre>Query</code> to make the functionality available on the lower layer (cebe)</li>
<li>Enh #14620: Updated <code v-pre>yii.activeForm.js</code> and <code v-pre>yii\web\View</code> to jQuery 3.0 compatible API (silverfire)</li>
<li>Enh #14633: Add miliseconds to log time in <code v-pre>\yii\log\Target</code> (Ni-san)</li>
<li>Enh #14664: Add migrate/fresh command to truncate database and apply migrations again (thyseus)</li>
<li>Enh #14765: RBAC: add index on <code v-pre>user_id</code> column in <code v-pre>auth_assignment</code> table for performance reasons (bicf)</li>
<li>Enh #14864: Ability to use dependencies in constructor of migrations (vtvz)</li>
<li>Enh #14877: Disabled profiling on connection opening when profiling is disabled (njasm)</li>
<li>Enh #14913: Assset hashing now takes asset linking into account to improve cache busting (schmunk42)</li>
<li>Enh #14929: Ensure trailing <code v-pre>;</code> on combining files with <code v-pre>asset</code> command to fix compiler failures (tanakahisateru)</li>
<li>Enh #14958: Added options to copy stacktrace and search for error message to the exception page (cebe)</li>
<li>Enh #14967: Added Armenian Translations (gevorgmansuryan)</li>
<li>Enh #15015: Added <code v-pre>StringHelper::floatToString()</code> to safely cast float values independent of the locale, also fixes some places in the framework that use it now (cebe)</li>
<li>Chg #7936: Deprecate <code v-pre>yii\base\Object</code> in favor of <code v-pre>yii\base\BaseObject</code> for compatibility with PHP 7.2 (rob006, cebe, klimov-paul)</li>
<li>Chg #14201: <code v-pre>yii\console\controllers\MessageController::extractMessagesFromTokens()</code> is now protected (faenir)</li>
<li>Chg #14286: Used primary inputmask package name instead of an alias (samdark)</li>
<li>Chg #14321: <code v-pre>yii\widgets\MaskedInput</code> is now registering its JavaScript <code v-pre>clientOptions</code> initialization code in head section (DaveFerger)</li>
<li>Chg #14487: Changed i18n message error to warning (dmirogin)</li>
</ul>
<h2 id="_2-0-12-june-05-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-12-june-05-2017"><span>2.0.12 June 05, 2017</span></a></h2>
<ul>
<li>Bug #4408: Add support for unicode word characters and <code v-pre>+</code> character in attribute names (sammousa, kmindi)</li>
<li>Bug #5442: Fixed problem on load fixture dependencies with database related tests (leandrogehlen)</li>
<li>Bug #7946: Fixed a bug when the <code v-pre>form</code> attribute was not propagated to the hidden input of the checkbox (Kolyunya)</li>
<li>Bug #8120: Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in <code v-pre>yii\db\QueryBuilder</code> (sergeymakinen)</li>
<li>Bug #9669: AssetManager and <code v-pre>FileHelper::copyDirectory()</code> were copying empty directories when using <code v-pre>only</code> or <code v-pre>except</code> options. Added an option to disable this (cebe)</li>
<li>Bug #10305: Oracle SQL queries with <code v-pre>IN</code> condition and more than 1000 parameters are working now (silverfire)</li>
<li>Bug #10346: Fixed “DOMException: Invalid Character Error” in <code v-pre>yii\web\XmlResponseFormatter::buildXml()</code> (sasha-ch)</li>
<li>Bug #10372: Fixed console controller including complex typed arguments in help (sammousa)</li>
<li>Bug #11230: Include <code v-pre>defaultRoles</code> in <code v-pre>yii\rbac\DbManager-&gt;getRolesByUser()</code> results (developeruz)</li>
<li>Bug #11404: <code v-pre>yii\base\Model::loadMultiple()</code> returns true even if <code v-pre>yii\base\Model::load()</code> returns false (zvook)</li>
<li>Bug #11719: Fixed <code v-pre>yii\db\Connection::$enableQueryCache</code> caused infinite loop when the same connection was used for <code v-pre>yii\caching\DbCache</code> (michaelarnauts)</li>
<li>Bug #12715: Exception <code v-pre>SAVEPOINT LEVEL1 does not exist</code> instead of deadlock exception (Vovan-VE)</li>
<li>Bug #13058: Fixed caught exception thrown during view file rendering produces wrong output (klimov-paul)</li>
<li>Bug #13086, #13656: Fixed bug with optional parameters at the beginning of pattern in <code v-pre>yii\web\UrlRule</code> (rob006)</li>
<li>Bug #13087: Fixed getting active validators for safe attribute (developeruz, klimov-paul)</li>
<li>Bug #13306: Wildcard in <code v-pre>reloadableScripts</code> in <code v-pre>yii.js</code> allows 0 characters (arogachev)</li>
<li>Bug #13340: Fixed <code v-pre>yii\db\Connection::useMaster()</code> - exception within callback completely disables slaves (Vovan-VE)</li>
<li>Bug #13343: Fixed <code v-pre>yii\i18n\Formatter::asTime()</code> to process time-only values without time zone conversion (bizley)</li>
<li>Bug #13350: Fixed bug with incorrect caching of <code v-pre>yii\web\UrlRule::createUrl()</code> results in <code v-pre>yii\web\UrlManager</code> (rob006)</li>
<li>Bug #13362: Fixed return value of <code v-pre>yii\caching\MemCache::setValues()</code> (masterklavi)</li>
<li>Bug #13379: Fixed <code v-pre>applyFilter()</code> function in <code v-pre>yii.gridView.js</code> to work correctly when params in <code v-pre>filterUrl</code> are indexed (SilverFire, arogachev)</li>
<li>Bug #13418: Fixed <code v-pre>QueryBuilder::batchInsert()</code> if <code v-pre>$rows</code> is <code v-pre>\Generator</code> (lav45)</li>
<li>Bug #13494: Fixed <code v-pre>yii\console\controllers\MessageConstroller::saveMessagesToDb()</code> to work on different DBMS correctly (silverfire)</li>
<li>Bug #13513: Fixed RBAC migration to work correctly on Oracle DBMS (silverfire)</li>
<li>Bug #13537: Fixed <code v-pre>yii\web\CacheSession::destroySession()</code> to work correctly when session is not written yet (silverfire, papalapa)</li>
<li>Bug #13538: Fixed <code v-pre>yii\db\BaseActiveRecord::deleteAll()</code> changes method signature declared by <code v-pre>yii\db\ActiveRecordInterface::deleteAll()</code> (klimov-paul)</li>
<li>Bug #13551: Fixed <code v-pre>FixtureController</code> to load fixtures from subdirectories (d1rtyf1ng3rs, silverfire)</li>
<li>Bug #13571: Fix <code v-pre>yii\db\mssql\QueryBuilder::checkIntegrity</code> for all tables (boboldehampsink)</li>
<li>Bug #13577: <code v-pre>yii\db\QueryBuilder::truncateTable</code> should work consistent over all databases (boboldehampsink)</li>
<li>Bug #13582: PK column in <code v-pre>yii\db\pgsql\QueryBuilder::resetSequence()</code> was not quoted properly (boboldehampsink)</li>
<li>Bug #13592: Fixes <code v-pre>yii\db\oci\Schema::setTransactionIsolationLevel()</code> in Oracle (sergeymakinen)</li>
<li>Bug #13594: Fixes insufficient quoting in <code v-pre>yii\db\QueryBuilder::prepareInsertSelectSubQuery()</code> (sergeymakinen)</li>
<li>Bug #13649: Fixes issue where <code v-pre>['uncheck' =&gt; false]</code> and <code v-pre>['label' =&gt; false]</code> options for <code v-pre>ActiveRadio</code> and <code v-pre>ActiveCheckbox</code> were ignored (Alex-Code)</li>
<li>Bug #13657: Fixed <code v-pre>yii\helpers\StringHelper::truncateHtml()</code> skip extra tags at the end (sam002)</li>
<li>Bug #13670: Fixed alias option from console when it includes <code v-pre>-</code> or <code v-pre>_</code> in option name (pana1990)</li>
<li>Bug #13671: Fixed error handler trace to work correctly with XDebug (samdark)</li>
<li>Bug #13689: Fixed handling of errors in closures (mikehaertl)</li>
<li>Bug #13694: <code v-pre>yii\widgets\Pjax</code> now sends <code v-pre>X-Pjax-Url</code> header with response to fix redirect (wleona3, Faryshta)</li>
<li>Bug #13704: Fixed <code v-pre>yii\validators\UniqueValidator</code> to prefix attribute name with model’s database table name (vladis84)</li>
<li>Bug #13707: Fixed <code v-pre>yii\web\ErrorHandler</code> and <code v-pre>yii\web\ErrorAction</code> not setting correct response code to response object before rendering error view (samdark)</li>
<li>Bug #13728: Fixed the bug when <code v-pre>yii\behaviors\SluggableBehavior</code> wasn’t preserving immutable slug values (Kolyunya)</li>
<li>Bug #13738: Fixed <code v-pre>getQueryParams()</code> method in <code v-pre>yii.js</code> to correctly parse URL with question mark and no query parameters (vladdnepr)</li>
<li>Bug #13776: Fixed setting precision and scale for decimal columns in MSSQL (arturf)</li>
<li>Bug #13790: Fixed error in <code v-pre>\yii\widgets\MaskedInput</code> JavaScript by raising version required (samdark)</li>
<li>Bug #13807: Fixed <code v-pre>yii\db\QueryBuilder</code> to inherit subquery params when building a <code v-pre>INSERT INTO ... SELECT</code> query (sergeymakinen)</li>
<li>Bug #13842: Fixed ambiguous table SQL error while using <code v-pre>yii\validators\ExistValidator</code> and <code v-pre>yii\validators\UniqueValidator</code> (vladis84, samdark)</li>
<li>Bug #13846: Fixed <code v-pre>Query::count()</code> issue with <code v-pre>orderBy</code> (Alex-Code)</li>
<li>Bug #13848: <code v-pre>yii\di\Instance::ensure()</code> wasn’t throwing an exception when <code v-pre>$type</code> is specified and <code v-pre>$reference</code> object isn’t instance of <code v-pre>$type</code> (c-jonua)</li>
<li>Bug #13890: <code v-pre>yii\log\DbTarget</code> log messages where not written when a database transaction was rolled back, added support for cloning a <code v-pre>yii\db\Connection</code> (shirase, cebe)</li>
<li>Bug #13901: Fixed passing unused parameter to <code v-pre>formatMessage()</code> call in <code v-pre>\yii\validators\IpValidator</code> (Kolyunya)</li>
<li>Bug #13961: Fixed <code v-pre>unserialize()</code> error during RBAC rule retrieving from PostgreSQL DBMS (vsguts, nanodesu88, cebe)</li>
<li>Bug #14012: <code v-pre>yii\db\pgsql\Schema::findViewNames()</code> was skipping materialized views (insolita)</li>
<li>Bug #14033: Fixed <code v-pre>yii\filters\AccessRule::matchIp()</code> erroring in case IP is not defined under HHVM (Kolyunya)</li>
<li>Bug #14042: Fixed ambiguous column name in SELECT in UniqueValidator (cebe)</li>
<li>Bug #14052: Fixed processing parse errors on PHP 7 since these are instances of <code v-pre>\ParseError</code> (samdark)</li>
<li>Bug #14072: Fixed a bug where <code v-pre>\yii\db\Command::createTable()</code>, <code v-pre>addForeignKey()</code>, <code v-pre>dropForeignKey()</code>, <code v-pre>addCommentOnColumn()</code>, and <code v-pre>dropCommentFromColumn()</code> weren’t refreshing the table cache on <code v-pre>yii\db\Schema</code> (brandonkelly)</li>
<li>Bug #14074: Fixed default value of <code v-pre>yii\console\controllers\FixtureController::$globalFixtures</code> to contain valid class name (lynicidn)</li>
<li>Bug #14094: Fixed bug when single <code v-pre>yii\web\UrlManager::createUrl()</code> call my result multiple calls of <code v-pre>yii\web\UrlRule::createUrl()</code> for the same rule (rossoneri)</li>
<li>Bug #14133: Fixed bug when calculating timings with mixed nested profile begin and end in <code v-pre>yii\log\Logger::calculateTimings()</code> (bizley)</li>
<li>Enh #4793: <code v-pre>yii\filters\AccessControl</code> now can be used without <code v-pre>user</code> component (bizley)</li>
<li>Enh #4999: Added support for wildcards at <code v-pre>yii\filters\AccessRule::$controllers</code> (klimov-paul)</li>
<li>Enh #5108: <code v-pre>yii\validators\DateValidator</code> now resets <code v-pre>$timestampAttribute</code> value on empty validated attribute value (klimov-paul)</li>
<li>Enh #8426: <code v-pre>yii\filters\AccessRule</code> now allows passing parameters to the role checking function (fsateler, cebe, Faryshta)</li>
<li>Enh #8641: Enhanced <code v-pre>yii\console\Request::resolve()</code> to prevent passing parameters, that begin from digits (silverfire)</li>
<li>Enh #11288: Added support for caching of <code v-pre>yii\web\UrlRule::createUrl()</code> results in <code v-pre>yii\web\UrlManager</code> for rules with defaults (rob006)</li>
<li>Enh #12528: Added option to disable query logging and profiling in DB command (cebe)</li>
<li>Enh #13144: Refactored <code v-pre>yii\db\Query::queryScalar()</code> (Alex-Code)</li>
<li>Enh #13179: Added <code v-pre>yii\data\Sort::parseSortParam</code> allowing to customize sort param in descendant class (leandrogehlen)</li>
<li>Enh #13221: Make <code v-pre>\yii\db\QueryTrait::limit()</code> and <code v-pre>\yii\db\QueryTrait::offset()</code> methods work with <code v-pre>\yii\db\Expression</code> (Ni-san)</li>
<li>Enh #13226: <code v-pre>yii cache</code> command now warns about the fact that it’s not able to flush APC cache from console (samdark)</li>
<li>Enh #13240: Client scripts registration in <code v-pre>yii\widgets\ActiverForm</code> was moved to the separate <code v-pre>registerClientScript()</code> method (uaoleg, silverfire)</li>
<li>Enh #13243: Added support for unicode attribute names in <code v-pre>yii\widgets\DetailView</code> (arogachev)</li>
<li>Enh #13254: Core validators no longer require <code v-pre>Yii::$app</code> to be set (sammousa)</li>
<li>Enh #13260: Added support for sorting by expression to <code v-pre>\yii\data\Sort</code> (LAV45, klimov-paul)</li>
<li>Enh #13278: <code v-pre>yii\caching\DbQueryDependency</code> created allowing specification of the cache dependency via <code v-pre>yii\db\QueryInterface</code> (klimov-paul)</li>
<li>Enh #13352: Added option to not render empty row in <code v-pre>yii\grid\GridView</code> when data is empty and <code v-pre>emptyText</code> set to <code v-pre>false</code> (arogachev)</li>
<li>Enh #13356: Support multiple paths in <code v-pre>MigrateController::$migrationPath</code> to load non-namespaced migrations for BC with existing applications and extensions (schmunk42, cebe)</li>
<li>Enh #13360: Added Dockerized test setup for the framework tests (schmunk42)</li>
<li>Enh #13369: Added ability to render current <code v-pre>yii\widgets\LinkPager</code> page disabled (aquy)</li>
<li>Enh #13376: Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination (SamMousa)</li>
<li>Enh #13407: Added URL-safe base64 encode/decode methods to <code v-pre>StringHelper</code> (andrewnester)</li>
<li>Enh #13467: <code v-pre>yii\data\ActiveDataProvider</code> no longer queries models if models count is zero (kLkA, Kolyunya)</li>
<li>Enh #13523: Fixed pluralization and singularization for words <code v-pre>pasta</code>, <code v-pre>currency</code> (developeruz, silverfire)</li>
<li>Enh #13550: Refactored <code v-pre>unset()</code> call order in <code v-pre>yii\di\ServiceLocator::set()</code> (Lanrik)</li>
<li>Enh #13560: Refactored <code v-pre>\yii\widgets\FragmentCache::getCachedContent()</code>, added tests (Kolyunya)</li>
<li>Enh #13576: Added support of <code v-pre>srcset</code> to <code v-pre>yii\helpers\Html::img()</code> (Kolyunya)</li>
<li>Enh #13577: Implemented <code v-pre>yii\db\mssql\QueryBuilder::resetSequence()</code> (boboldehampsink)</li>
<li>Enh #13582: Added tests for all <code v-pre>yii\db\QueryBuilder::resetSequence()</code> implementations, fixed SQLite implementation (boboldehampsink)</li>
<li>Enh #13642: Allow overriding the function for creating related queries in ActiveRecord by adding <code v-pre>createRelationQuery()</code> (leandrogehlen)</li>
<li>Enh #13650: Improved <code v-pre>yii\base\Security::hkdf()</code> to take advantage of native <code v-pre>hash_hkdf()</code> implementation in PHP &gt;= 7.1.2 (charlesportwoodii)</li>
<li>Enh #13695: <code v-pre>yii\web\Response::setStatusCode()</code> method now returns the Response object itself (kyle-mccarthy)</li>
<li>Enh #13698: <code v-pre>yii\grid\DataColumn</code> filter is automatically generated as dropdown list in case of <code v-pre>format</code> set to <code v-pre>boolean</code> (bizley)</li>
<li>Enh #13770: Added support for <code v-pre>yii\widgets\Menu</code> item classes definition in the form of an array (Kolyunya)</li>
<li>Enh #13820: Add new HTTP status code 451 (yyxx9988)</li>
<li>Enh #13823: Refactored migrations template (Kolyunya)</li>
<li>Enh #13837: Refactored masking of CSRF tokens (sammousa)</li>
<li>Enh #13845: <code v-pre>mt_rand()</code> is used instead of <code v-pre>rand()</code> in <code v-pre>yii\captcha\CaptchaAction</code> (kalessil)</li>
<li>Enh #13883: <code v-pre>yii\data\SqlDataProvider</code> now provides automatic fallback for the case when <code v-pre>totalCount</code> is not specified (SamMousa)</li>
<li>Enh #13911: Significantly enhanced MSSQL schema reading performance (paulzi, WebdevMerlion)</li>
<li>Enh #13945: Removed Courier New from error page fonts list since it looks bad on Linux (samdark)</li>
<li>Enh #13963: Added tests for <code v-pre>yii\behaviors\TimestampBehavior</code> (vladis84)</li>
<li>Enh #13976: Disabled IPv6 check on <code v-pre>\yii\validators\IpValidator</code> as it turns out it is not needed for <code v-pre>inet_*</code> methods to work (mikk150)</li>
<li>Enh #13981: <code v-pre>yii\caching\Cache::getOrSet()</code> now supports both <code v-pre>Closure</code> and <code v-pre>callable</code> (silverfire)</li>
<li>Enh #13994: Refactored <code v-pre>yii\filters\RateLimiter</code>. Added tests (vladis84)</li>
<li>Enh #14059: Removed unused AR instantiating for calling of static methods (ElisDN)</li>
<li>Enh #14067: <code v-pre>yii\web\View::clear()</code> sets populated arrays to empty arrays instead of null, also changed default values to empty array (craiglondon)</li>
<li>Enh #14098: <code v-pre>yii\helpers\BaseFileHelper::normalizeOptions()</code> is now protected (brandonkelly)</li>
<li>Enh: Added <code v-pre>yii\di\Instance::__set_state()</code> method to restore object after serialization using <code v-pre>var_export()</code> function (silvefire)</li>
</ul>
<h2 id="_2-0-11-2-february-08-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-11-2-february-08-2017"><span>2.0.11.2 February 08, 2017</span></a></h2>
<ul>
<li>Bug #13501: Fixed <code v-pre>yii\rbac\DbManager::getRule()</code> and <code v-pre>yii\rbac\DbManager::getRules()</code> to properly handle resource data came from Rule table when using PostgreSQL (StalkAlex)</li>
<li>Bug #13508: Fixed duplicate attachment of behavior BC break (cebe)</li>
<li>Bug #13522: Issue with UrlRule, which created duplicate slashes when a default value was used (cebe)</li>
<li>Bug #13533: Fixed BC break in <code v-pre>yii\validators\ExistValidator::$targetAttribute</code> (developeruz)</li>
</ul>
<h2 id="_2-0-11-1-february-02-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-11-1-february-02-2017"><span>2.0.11.1 February 02, 2017</span></a></h2>
<ul>
<li>Bug #11502: Fixed <code v-pre>yii\console\controllers\MessageController</code> to properly populate missing languages in case of extraction with “db” format (bizley)</li>
<li>Bug #13489: Fixed button names in ActionColumn to contain proper <code v-pre>Yii::t()</code> tags and restored missing translations for <code v-pre>el</code>, <code v-pre>fa</code>, <code v-pre>ja</code>, <code v-pre>ru</code>, and <code v-pre>sk</code> (cebe, softark)</li>
</ul>
<h2 id="_2-0-11-february-01-2017" tabindex="-1"><a class="header-anchor" href="#_2-0-11-february-01-2017"><span>2.0.11 February 01, 2017</span></a></h2>
<ul>
<li>Bug #4113: Error page stacktrace was generating links to private methods which are not part of the API docs (samdark)</li>
<li>Bug #7727: Fixed <code v-pre>yii\helpers\StringHelper::truncateHtml()</code> leaving extra tags (developeruz)</li>
<li>Bug #9305: Fixed MSSQL <code v-pre>Schema::TYPE_TIMESTAMP</code> to be ‘datetime’ instead of ‘timestamp’, which is just an incremental number (nkovacs)</li>
<li>Bug #9616: Fixed mysql\Schema::loadColumnSchema to set enumValues attribute correctly if enum definition contains commas (fphammerle)</li>
<li>Bug #9796: Initialization of not existing <code v-pre>yii\grid\ActionColumn</code> default buttons (arogachev)</li>
<li>Bug #10488: Fixed incorrect behavior of <code v-pre>yii\validation\NumberValidator</code> when used with locales where decimal separator is comma (quantum13, samdark, rob006)</li>
<li>Bug #11122: Fixed can not use <code v-pre>orderBy</code> with aggregate functions like <code v-pre>count</code> (Ni-san)</li>
<li>Bug #11771: Fixed semantics of <code v-pre>yii\di\ServiceLocator::__isset()</code> to match the behavior of <code v-pre>__get()</code> which fixes inconsistent behavior on newer PHP versions (cebe)</li>
<li>Bug #12133: Fixed <code v-pre>getDbTargets()</code> function in <code v-pre>yii\log\migrations\m141106_185632_log_init</code> that would create a log table correctly (bumstik)</li>
<li>Bug #12213: Fixed <code v-pre>yii\db\ActiveRecord::unlinkAll()</code> to respect <code v-pre>onCondition()</code> of the relational query (silverfire)</li>
<li>Bug #12345: Fixed <code v-pre>Formatter::asCurrency()</code> for proper decimal formatting (Oxyaction)</li>
<li>Bug #12599: Fixed MSSQL fail to work with <code v-pre>nvarbinary</code>. Enhanced SQL scripts compatibility with older versions (samdark)</li>
<li>Bug #12681: Changed <code v-pre>data</code> column type from <code v-pre>text</code> to <code v-pre>blob</code> to handle null-byte (<code v-pre>\0</code>) in serialized RBAC rule properly (silverfire)</li>
<li>Bug #12703: Fixed <code v-pre>StringHelper::truncateHtml()</code> non functional when dom PHP extension is disabled (samdark)</li>
<li>Bug #12713: Fixed <code v-pre>yii\caching\FileDependency</code> to clear stat cache before reading filemtime (SG5)</li>
<li>Bug #12714: Fixed <code v-pre>yii\validation\EmailValidator</code> to prevent false-positives checks when property <code v-pre>checkDns</code> is set to <code v-pre>true</code> (silverfire)</li>
<li>Bug #12735: Fixed <code v-pre>yii\console\controllers\MigrateController</code> creating multiple primary keys for field <code v-pre>bigPrimaryKey:unsigned</code> (SG5)</li>
<li>Bug #12791: Fixed <code v-pre>yii\behaviors\AttributeTypecastBehavior</code> unable to automatically detect <code v-pre>attributeTypes</code>, triggering PHP Fatal Error (klimov-paul)</li>
<li>Bug #12795: Fixed inconsistency, <code v-pre>Yii::$app-&gt;controller</code> is available after handling the request since 2.0.10, this is now also the case for <code v-pre>Yii::$app-&gt;controller-&gt;action</code> (cebe)</li>
<li>Bug #12803, #12921: Fixed BC break in <code v-pre>yii.activeForm.js</code> introduced in #11999. Reverted commit 3ba72da (silverfire)</li>
<li>Bug #12810: Fixed <code v-pre>yii\rbac\DbManager::getChildRoles()</code> and <code v-pre>yii\rbac\PhpManager::getChildRoles()</code> throws an exception when role has no child roles (mysterydragon)</li>
<li>Bug #12822: Fixed <code v-pre>yii\i18n\Formatter::asTimestamp()</code> to process timestamp with miliseconds correctly (h311ion)</li>
<li>Bug #12824: Enabled usage of <code v-pre>yii\mutex\FileMutex</code> on Windows systems (davidsonalencar)</li>
<li>Bug #12828: Fixed handling of nested arrays, objects in <code v-pre>\yii\grid\GridView::guessColumns</code> (githubjeka)</li>
<li>Bug #12836: Fixed <code v-pre>yii\widgets\GridView::filterUrl</code> to not ignore <code v-pre>#</code> part of filter URL (cebe, arogachev)</li>
<li>Bug #12856: Fixed <code v-pre>yii\web\XmlResponseFormatter</code> to use <code v-pre>true</code> and <code v-pre>false</code> to represent booleans (samdark)</li>
<li>Bug #12879: Console progress bar was not working properly in Windows terminals (samdark, kids-return)</li>
<li>Bug #12880: Fixed <code v-pre>yii\behaviors\AttributeTypecastBehavior</code> marks attributes with <code v-pre>null</code> value as ‘dirty’ (klimov-paul)</li>
<li>Bug #12904: Fixed lowercase table name in migrations (zlakomanoff)</li>
<li>Bug #12939: Hard coded table names for MSSQL in RBAC migration (arogachev)</li>
<li>Bug #12969: Improved unique ID generation for <code v-pre>yii\widgets\Pjax</code> widgets (dynasource, samdark, rob006)</li>
<li>Bug #12974: Fixed incorrect order of migrations history in case <code v-pre>yii\console\controllers\MigrateController::$migrationNamespaces</code> is in use (evgen-d, klimov-paul)</li>
<li>Bug #13071: Help option for commands was not working in modules (arogachev, haimanman)</li>
<li>Bug #13089: Fixed <code v-pre>yii\console\controllers\AssetController::adjustCssUrl()</code> breaks URL reference specification (<code v-pre>url(#id)</code>) (vitalyzhakov)</li>
<li>Bug #13105: Fixed <code v-pre>validate()</code> method in <code v-pre>yii.activeForm.js</code> to prevent unexpected form submit when <code v-pre>forceValidate</code> set to <code v-pre>true</code> (silverfire)</li>
<li>Bug #13108: Fix execute command with negative integer parameter (pana1990, uaoleg)</li>
<li>Bug #13118: Fixed <code v-pre>handleAction()</code> function in <code v-pre>yii.js</code> to handle attribute <code v-pre>data-pjax=0</code> as disabled PJAX (silverfire, arisk)</li>
<li>Bug #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder <code v-pre>__toString</code> (df2)</li>
<li>Bug #13159: Fixed <code v-pre>destroy</code> method in <code v-pre>yii.captcha.js</code> which did not work as expected (arogachev)</li>
<li>Bug #13198: Fixed order of checks in <code v-pre>yii\validators\IpValidator</code> that sometimes caused wrong error message (silverfire)</li>
<li>Bug #13200: Creating URLs for routes specified in <code v-pre>yii\rest\UrlRule::$extraPatterns</code> did not work if no HTTP verb was specified (cebe)</li>
<li>Bug #13212: Fixed <code v-pre>DbSession::regenerateID()</code> failure when <code v-pre>session_regenerate_id()</code> fails (andrewnester)</li>
<li>Bug #13229: Fix fetching schema information for <code v-pre>pgsql</code> when <code v-pre>PDO::ATTR_CASE</code> is set (klimov-paul)</li>
<li>Bug #13231: Fixed <code v-pre>destroy</code> method in <code v-pre>yii.gridView.js</code> which did not work as expected (arogachev)</li>
<li>Bug #13232: Event handlers were not detached with changed selector in <code v-pre>yii.gridView.js</code> (arogachev)</li>
<li>Bug #13277: Fixed invalid parsing of <code v-pre>--</code> (“End of Options” special argument) in CLI (rugabarbo)</li>
<li>Bug #13287: Fixed translating “and” separator in <code v-pre>UniqueValidator</code> error message (jetexe)</li>
<li>Bug #13300: Allow pjax with “data-pjax” with no value in <code v-pre>yii.js</code> (arogachev)</li>
<li>Bug #13307: Preventing of race conditions in script filter in <code v-pre>yii.js</code> works incorrectly (arogachev)</li>
<li>Bug #13309: Fixes incorrect console width/height detecting with using Stty on Mac (nowm)</li>
<li>Bug #13310: Handle relative and absolute URLs coincidence in CSS filter in <code v-pre>yii.js</code> (arogachev)</li>
<li>Bug #13312: <code v-pre>skipOuterContainers</code> option was incorrectly passed to pjax in <code v-pre>handleAction</code> in <code v-pre>yii.js</code> (arogachev)</li>
<li>Bug #13326: Fixed wrong background color generation in <code v-pre>BaseConsole::renderColoredString()</code> (nowm, silverfire)</li>
<li>Bug #13401: Fixed lack of escaping of request dump at exception screens (samdark)</li>
<li>Bug #13416: Fixed <code v-pre>yii\web\MultipartFormDataParser</code> adds an extra newline to every value (klimov-paul)</li>
<li>Enh #475: Added Bash and Zsh completion support for the <code v-pre>./yii</code> command (cebe, silverfire)</li>
<li>Enh #6242: Access to validator in inline validation (arogachev)</li>
<li>Enh #6373: Introduce <code v-pre>yii\db\Query::emulateExecution()</code> to force returning an empty result for a query (klimov-paul)</li>
<li>Enh #6809: Added <code v-pre>yii\caching\Cache::$defaultDuration</code> property, allowing to set custom default cache duration (sdkiller)</li>
<li>Enh #7333: Improved error message for <code v-pre>yii\di\Instance::ensure()</code> when a component does not exist (cebe)</li>
<li>Enh #7420: Attributes for prompt generated with <code v-pre>renderSelectOptions</code> of <code v-pre>\yii\helpers\Html</code> helper (arogachev)</li>
<li>Enh #7435: Added <code v-pre>EVENT_BEFORE_RUN</code>, <code v-pre>EVENT_AFTER_RUN</code> and corresponding methods to <code v-pre>yii\base\Widget</code> (petrabarus)</li>
<li>Enh #7820: Add <code v-pre>or</code> relation for <code v-pre>targetAttribute</code> in <code v-pre>yii\validators\UniqueValidator</code> (developeruz)</li>
<li>Enh #8293: <code v-pre>yii\db\Query</code> can be passed to <code v-pre>insert</code> method in <code v-pre>yii\db\QueryBuilder</code> (voroks)</li>
<li>Enh #9053: Added<code v-pre>yii\grid\RadioButtonColumn</code> (darwinisgod)</li>
<li>Enh #9162: Added support of closures in <code v-pre>value</code> for attributes in <code v-pre>yii\widgets\DetailView</code> (arogachev)</li>
<li>Enh #10970: Allow omit specifying empty default params on URL creation (rob006)</li>
<li>Enh #11037: <code v-pre>yii.js</code> and <code v-pre>yii.validation.js</code> use <code v-pre>Regexp.test()</code> instead of <code v-pre>String.match()</code> (arogachev, nkovacs)</li>
<li>Enh #11163: Added separate method for client-side validation options <code v-pre>yii\validators\Validator::getClientOptions()</code> (arogachev)</li>
<li>Enh #11464: Populate foreign key names from schema (joaoppereira)</li>
<li>Enh #11697: Added <code v-pre>filterHaving()</code>, <code v-pre>andFilterHaving()</code> and <code v-pre>orFilterHaving()</code> to <code v-pre>yii\db\Query</code> (nicdnepr, samdark)</li>
<li>Enh #11756: Added type mapping for <code v-pre>varbinary</code> data type in MySQL DBMS (silverfire)</li>
<li>Enh #11758: Implemented Dependency Injection Container configuration using Application configuration array (silverfire)</li>
<li>Enh #11929: Changed <code v-pre>type</code> column type from <code v-pre>int</code> to <code v-pre>smallInt</code> in RBAC migrations (silverfire)</li>
<li>Enh #11959: Added <code v-pre>yii\caching\Cache::getOrSet()</code> method (silverfire)</li>
<li>Enh #12000: Added EVENT_INIT to widget (user57376)</li>
<li>Enh #12015: Changed visibility <code v-pre>yii\db\ActiveQueryTrait::createModels()</code> from private to protected (ArekX, dynasource)</li>
<li>Enh #12145: Added <code v-pre>beforeCacheResponse</code> and <code v-pre>afterRestoreResponse</code> to <code v-pre>yii\filters\PageCache</code> to be more easily extendable (sergeymakinen)</li>
<li>Enh #12390: Avoid creating queries with false where condition (<code v-pre>0=1</code>) when fetching relational data (klimov-paul)</li>
<li>Enh #12399: Added <code v-pre>ActiveField::addAriaAttributes</code> property for <code v-pre>aria-required</code> and <code v-pre>aria-invalid</code> attributes rendering (Oxyaction, samdark)</li>
<li>Enh #12419: Added ability to remove root tag and object tags for <code v-pre>yii\web\XmlResponseFormatter</code> (mhthnz, samdark)</li>
<li>Enh #12612: Query conditions added with <code v-pre>yii\db\Query::andWhere()</code> now get appended to the existing conditions if they were already being joined with the <code v-pre>and</code> operator (brandonkelly)</li>
<li>Enh #12619: Added catch <code v-pre>Throwable</code> in <code v-pre>yii\base\ErrorHandler::handleException()</code>, transactions and simlar places where consistency must be kept after exception (rob006, cebe)</li>
<li>Enh #12659: Suggest alternatives when console command was not found (mdmunir, cebe)</li>
<li>Enh #12691: Added support for protocol-relative URLs in <code v-pre>yii\web\UrlRule::$pattern</code> (erickskrauch)</li>
<li>Enh #12710: Added <code v-pre>beforeItem</code> and <code v-pre>afterItem</code> to <code v-pre>yii\widgets\ListView</code> (mdmunir, silverfire)</li>
<li>Enh #12725: Enhanced <code v-pre>yii\widgets\Menu</code> to allow item option <code v-pre>active</code> be a Closure (voskobovich, silverfire)</li>
<li>Enh #12726: <code v-pre>yii\base\Application::$version</code> converted to <code v-pre>yii\base\Module::$version</code> virtual property, allowing to specify version as a PHP callback (klimov-paul)</li>
<li>Enh #12732: Added <code v-pre>is_dir()</code> validation to <code v-pre>yii\helpers\BaseFileHelper::findFiles()</code> method (zalatov, silverfire)</li>
<li>Enh #12738: Added support for creating protocol-relative URLs in <code v-pre>UrlManager::createAbsoluteUrl()</code> and <code v-pre>Url</code> helper methods (rob006)</li>
<li>Enh #12748: Migration generator now tries to fetch reference column name for foreignKey from schema if it’s not set explicitly (MKiselev)</li>
<li>Enh #12750: <code v-pre>yii\widgets\ListView::itemOptions</code> can be a closure now (webdevsega, silverfire)</li>
<li>Enh #12758: Added the ability to use instances of <code v-pre>\yii\db\Query</code> class as values in the <code v-pre>\yii\db\QueryBuilder::insert()</code> method (PowerGamer1)</li>
<li>Enh #12771: Skip \yii\rbac\PhpManager::checkAccessRecursive and \yii\rbac\DbManager::checkAccessRecursive if role assignments are empty (Ni-san)</li>
<li>Enh #12790: Added <code v-pre>scrollToErrorOffset</code> option for <code v-pre>yii\widgets\ActiveForm</code> which adds ability to specify offset in pixels when scrolling to error (mg-code)</li>
<li>Enh #12798: Changed <code v-pre>yii\cache\Dependency::getHasChanged()</code> (deprecated, to be removed in 2.1) to <code v-pre>yii\cache\Dependency::isChanged()</code> (dynasource)</li>
<li>Enh #12807: Added console controller checks for <code v-pre>yii\console\controllers\HelpController</code> (schmunk42)</li>
<li>Enh #12816: Added <code v-pre>columnSchemaClass</code> option for <code v-pre>yii\db\Schema</code> which adds ability to specify custom <code v-pre>yii\db\ColumnSchema</code> class (nanodesu88)</li>
<li>Enh #12854: Added <code v-pre>RangeNotSatisfiableHttpException</code> to cover HTTP error 416 file request exceptions (zalatov)</li>
<li>Enh #12881: Added <code v-pre>removeValue</code> method to <code v-pre>yii\helpers\BaseArrayHelper</code> (nilsburg)</li>
<li>Enh #12901: Added <code v-pre>getDefaultHelpHeader</code> method to the <code v-pre>yii\console\controllers\HelpController</code> class to be able to override default help header in a class heir (diezztsk)</li>
<li>Enh #12988: Changed <code v-pre>textarea</code> method within the <code v-pre>yii\helpers\BaseHtml</code> class to allow users to control whether HTML entities found within <code v-pre>$value</code> will be double-encoded or not (cyphix333)</li>
<li>Enh #13020: Added <code v-pre>disabledListItemSubTagOptions</code> attribute for <code v-pre>yii\widgets\LinkPager</code> in order to customize the disabled list item sub tag element (nadar)</li>
<li>Enh #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue() (thyseus)</li>
<li>Enh #13036: Added shortcut methods <code v-pre>asJson()</code> and <code v-pre>asXml()</code> for returning JSON and XML data in web controller actions (cebe)</li>
<li>Enh #13050: Added <code v-pre>yii\filters\HostControl</code> allowing protection against ‘host header’ attacks (klimov-paul, rob006)</li>
<li>Enh #13074: Improved <code v-pre>yii\log\SyslogTarget</code> with <code v-pre>$options</code> to be able to change the default <code v-pre>openlog</code> options (timbeks)</li>
<li>Enh #13122: Optimized query for information about foreign keys in <code v-pre>yii\db\oci</code> (zlakomanoff)</li>
<li>Enh #13134: Added logging URL rules (bashkarev)</li>
<li>Enh #13202: Refactor validateAttribute method in UniqueValidator (developeruz)</li>
<li>Enh #13219: Enhancements for <code v-pre>yii\db\Connection</code> (Vovan-VE)
<ul>
<li>Added <code v-pre>shuffleMasters</code> option which adds ability to disable shuffling of masters connections.</li>
<li>Added <code v-pre>getMaster()</code> getter and <code v-pre>master</code> property for getting currently active master connection.</li>
<li>Extracted <code v-pre>openFromPoolSequentially()</code> protected method from <code v-pre>openFromPool()</code> protected method.</li>
</ul>
</li>
<li>Enh #13264: Added <code v-pre>yii\widgets\InputWidget::$field</code> field, allowing access to the related <code v-pre>yii\widget\ActiveField</code> instance (klimov-paul)</li>
<li>Enh #13266: Added <code v-pre>yii\validators\EachValidator::$stopOnFirstError</code> allowing addition of more than one error (klimov-paul)</li>
<li>Enh #13268: Added logging of memory usage (bashkarev)</li>
<li>Enh #13417: Allow customizing <code v-pre>yii\data\ActiveDataProvider</code> in <code v-pre>yii\rest\IndexAction</code> (leandrogehlen)</li>
<li>Enh #13453: Select only primary key when counting records in UniqueValidator (developeruz)</li>
<li>Enh: Added constants for specifying <code v-pre>yii\validators\CompareValidator::$type</code> (cebe)</li>
<li>Enh: Refactored <code v-pre>yii\web\ErrorAction</code> to make it reusable (silverfire)</li>
<li>Enh: Added support for field <code v-pre>yii\console\controllers\BaseMigrateController::$migrationNamespaces</code> setup from CLI (schmunk42)</li>
<li>Chg #11906: Updated <code v-pre>yii\widgets\MaskedInput</code> inputmask dependency to <code v-pre>~3.3.3</code> (samdark)</li>
</ul>
<h2 id="_2-0-10-october-20-2016" tabindex="-1"><a class="header-anchor" href="#_2-0-10-october-20-2016"><span>2.0.10 October 20, 2016</span></a></h2>
<ul>
<li>Bug #7670: Added <code v-pre>yii\web\UrlNormalizer</code> for normalizing requests with and without trailing slashes (rob006, cronfy, klimov-paul)</li>
<li>Bug #7670: Added <code v-pre>UrlNormalizer</code> for normalizing requests with and without trailing slashes (rob006, cronfy, klimov-paul)</li>
<li>Bug #9027: Fixed descendant class of <code v-pre>yii\web\UploadedFile</code> returns parent instances in case invoked after it (andrewnester)</li>
<li>Bug #9277: Fixed <code v-pre>yii\console\controllers\AssetController</code> looses custom options of ‘target’ bundles (petrabarus, klimov-paul)</li>
<li>Bug #9561: Fixed <code v-pre>canGetProperty()</code> and <code v-pre>canSetProperty()</code> returns <code v-pre>false</code> for <code v-pre>yii\db\BaseActiveRecord</code> attributes (klimov-paul, Ni-san)</li>
<li>Bug #10358: Fixed race condition in <code v-pre>yii.js</code> AJAX prefilter (silverfire)</li>
<li>Bug #10563: Fixed forming <code v-pre>Content-Disposition</code> header for file downloads (samdark)</li>
<li>Bug #10567: Fixed <code v-pre>yii\console\controllers\AssetController</code> looses bundle override configuration, which makes it external one (klimov-paul)</li>
<li>Bug #10587: Latest used controller instance was not available in <code v-pre>Response::EVENT_AFTER_SEND</code> handler (samdark, andrewnester)</li>
<li>Bug #10681: Reverted fix of beforeValidate event calling in <code v-pre>yii.activeForm.js</code> (silverfire)</li>
<li>Bug #11347: Fixed <code v-pre>yii\widgets\Pjax::registerClientScript()</code> to pass custom <code v-pre>container</code> to the PJAX JS plugin (silverfire)</li>
<li>Bug #11352: Fixed <code v-pre>updateInputs()</code> method in <code v-pre>yii.activeForm.js</code> to prevent reading property of undefined (silverfire)</li>
<li>Bug #11461: Fixed migration tool error when create migrate with comma in <code v-pre>defaultValue</code> (pana1990, s-o-f)</li>
<li>Bug #11541: Fixed default MySQL integer display width for unsigned primary key (h311ion, rob006, cebe)</li>
<li>Bug #11715: Fixed JS validation when the same model’s attribute file input is listed more than once on the same page (uaoleg)</li>
<li>Bug #11726: <code v-pre>yii\web\DbSession</code> was echoing database errors in production mode (samdark, pastuhov, deadkrolik)</li>
<li>Bug #11907: Fixed <code v-pre>yii\helpers\Console::getScreenSize()</code> on Windows was giving out width and height swapped (Spell6inder, samdark, cebe)</li>
<li>Bug #11912: Fixed PostgreSQL Schema to support negative default values for integer/float/decimal columns (nsknewbie)</li>
<li>Bug #11921: Fixed URL decoding in <code v-pre>yii.getQueryParams()</code> to handle <code v-pre>+</code> (plus) character properly (silverfire)</li>
<li>Bug #11922: Fixed <code v-pre>yii\log\FileTarget</code> does not apply <code v-pre>fileMode</code> for rotated via copy files (klimov-paul)</li>
<li>Bug #11947: Fixed <code v-pre>gridData</code> initialization in <code v-pre>yii.gridView.js</code> (pavlm)</li>
<li>Bug #11949: Fixed <code v-pre>yii\widgets\ActiveField::end()</code> generates close tag when it’s <code v-pre>option['tag']</code> is <code v-pre>null</code> (egorio)</li>
<li>Bug #11977: Fixed <code v-pre>yii\rest\Serializer::serialize()</code> serializes DataProvider incorrectly, if models keys do not compose integer sequence (dcb9, klimov-paul)</li>
<li>Bug #11990: Fixed <code v-pre>yii\db\BaseActiveRecord::refresh()</code> may set incorrect <code v-pre>oldAttributes</code> values at some cases (only-victor)</li>
<li>Bug #12009: Do not render <code v-pre>for</code> field label attribute for active form <code v-pre>RadioList</code> and <code v-pre>CheckboxList</code> (shevchik87, samdark)</li>
<li>Bug #12030: Fixed <code v-pre>yii\base\Model::offsetExists()</code> throws an exception on un-existing field (klimov-paul)</li>
<li>Bug #12037: Fixed 2.0.7 regression in memcahe/memcached cache backend (samdark)</li>
<li>Bug #12043: Fixed <code v-pre>yii\helpers\Json::encode()</code> encodes empty array returned by <code v-pre>JsonSerializable::jsonSerialize()</code> as object (klimov-paul)</li>
<li>Bug #12053: <code v-pre>./yii migrate/create</code> was generating wrong code when using <code v-pre>bigPrimaryKey</code> (VojtechH, samdark)</li>
<li>Bug #12068: Added missing <code v-pre>LEVEL_PROFILE</code> for the syslog target (Mak-Di)</li>
<li>Bug #12100: Fixed <code v-pre>yii\filters\HttpCache</code> was sending an empty Pragma header (sergeymakinen)</li>
<li>Bug #12107: Fixed REST Serializer to validate input for ‘expand’ and ‘fields’ parameter, which crashed on array input (njspok, cebe)</li>
<li>Bug #12143: Fixed <code v-pre>yii\db\BaseActiveRecord::updateAttributes()</code> change <code v-pre>isNewRecord</code> state for the new model (klimov-paul)</li>
<li>Bug #12152: Fixed BC break for <code v-pre>yii\validators\UniqueValidator</code> custom message when validating multiple attributes (rob006)</li>
<li>Bug #12293: Fixed MSSQL <code v-pre>yii\db\mssql\Schema::resolveTableNames()</code> when using linked database tables (hAppywAy)</li>
<li>Bug #12331: Fixed bug with incorrect currency formatter output, when <code v-pre>$thousandSeparator</code> was explicitly set (cebe)</li>
<li>Bug #12423: Fixed migration tool problem of creating fields with brackets in comment (pana1990)</li>
<li>Bug #12428: Fixed <code v-pre>yii\db\mysql\QueryBuilder</code> causes warning when insert default rows into a table without primary key (DrmagicE)</li>
<li>Bug #12431: Fix bug when lock file was not removed after <code v-pre>yii\mutex\FileMutex::release()</code> (rob006)</li>
<li>Bug #12446: Disable slaves when execute migrations to resolve master-slave replication no-sync (lichunqiang)</li>
<li>Bug #12463: Fixed <code v-pre>yii\web\Request::getBodyParams()</code> does not pass full ‘content-type’ value to <code v-pre>yii\web\RequestParserInterface::parse()</code> (klimov-paul)</li>
<li>Bug #12537: Fixes issues with spaces in <code v-pre>StringHelper:truncateHtml</code> (Alex-Code)</li>
<li>Bug #12554: Fixed <code v-pre>yii\validators\UniqueValidator</code> error of getting first model indexed by field (DrDeath72)</li>
<li>Bug #12599: Fixed casting of <code v-pre>binary()</code> type for MSSQL (silverfire)</li>
<li>Bug #12605: Make ‘safe’ validator work on write-only properties (arthibald, CeBe)</li>
<li>Bug #12629: Fixed <code v-pre>yii\widgets\ActiveField::widget()</code> to call <code v-pre>adjustLabelFor()</code> for <code v-pre>InputWidget</code> descendants (coderlex)</li>
<li>Bug #12649: Fixed consistency of <code v-pre>indexBy</code> handling for <code v-pre>yii\db\Query::column()</code> (silverfire)</li>
<li>Enh #384: Added ability to run migration from several locations via <code v-pre>yii\console\controllers\BaseMigrateController::$migrationNamespaces</code> (klimov-paul)</li>
<li>Enh #6996: Added <code v-pre>yii\web\MultipartFormDataParser</code>, which allows proper processing of ‘multipart/form-data’ encoded non POST requests (klimov-paul)</li>
<li>Enh #8719: Add support for HTML5 attributes on submitbutton (formaction/formmethod…) for ActiveForm (VirtualRJ)</li>
<li>Enh #9469: Added support for namespaced migrations via <code v-pre>yii\console\controllers\BaseMigrateController::migrationNamespaces</code> (klimov-paul)</li>
<li>Enh #9708: Added <code v-pre>yii\console\controllers\AssetController::deleteSource</code> option allowing deletion of the source asset files after compression (pana1990, klimov-paul)</li>
<li>Enh #9989: ActiveForm now respects formtarget, formmethod and formenctype attributes of submit button (AnatolyRugalev)</li>
<li>Enh #10243: Added <code v-pre>yii\data\Sort::setAttributeOrders()</code> method allowing manual setup of current sort (klimov-paul)</li>
<li>Enh #10583: Do not silence session errors in debug mode (samdark)</li>
<li>Enh #11096: Added support for PSR-2 style migration naming for namespaced migrations (klimov-paul)</li>
<li>Enh #11245: Added <code v-pre>yii\rbac\ManagerInterface::getChildRoles()</code> method, allowing finding child roles for the given one (githubjeka)</li>
<li>Enh #11275: Added possibility of unset or force replace former value in <code v-pre>yii\helpers\ArrayHelper::merge()</code> (mdmunir, rob006)</li>
<li>Enh #11309: Added <code v-pre>yii\web\Request::getHostName()</code> method that returns hostname of current request (rob006)</li>
<li>Enh #11494: <code v-pre>yii.reloadableScripts</code> now support wildcards with <code v-pre>*</code> character (silverfire)</li>
<li>Enh #11658: Added argument to <code v-pre>yii\grid\ActionColumn::urlCreator</code> callback, which holds reference to the column instance (klimov-paul)</li>
<li>Enh #11804: Added <code v-pre>yii\behaviors\AttributeTypecastBehavior</code> for maintaining of strict ActiveRecord attribute types (klimov-paul)</li>
<li>Enh #11835: Fixed <code v-pre>\yii\db\mssql\QueryBuilder::$typeMap[TYPE_TEXT]</code> - <code v-pre>NTEXT</code> data type was deprecated in MSSQL (githubjeka)</li>
<li>Enh #11844: Added the ability to customize HTML attributes of label and value tags in <code v-pre>\yii\widgets\DetailView</code> (githubjeka)</li>
<li>Enh #11950: Improve <code v-pre>yii\helpers\BaseArrayHelper::keyExists()</code> speed (egorio)</li>
<li>Enh #11979: Added <code v-pre>yii\mutex\OracleMutex</code> which implements mutex “lock” mechanism via Oracle locks (zlakomanoff)</li>
<li>Enh #12028: Add -h|–help option to console command to display help information (pana1990)</li>
<li>Enh #12038: Introduced <code v-pre>yii\base\ViewNotFoundException</code> which is thrown when views file doesn’t exists, used it in <code v-pre>ViewAction</code> (samdark)</li>
<li>Enh #12048: Improved message extraction command performance (samdark)</li>
<li>Enh #12073: Added the ability to suppress the generation of input hint when it is specified through <code v-pre>yii\base\Model::attributeHints()</code> (PowerGamer1)</li>
<li>Enh #12082: Used <code v-pre>jQuery.on(</code> instead of event method to ensure forwards compatibility (newerton)</li>
<li>Enh #12099: <code v-pre>yii\filters\HttpCache</code> no longer returns 304 HTTP code when callbacks return null (sergeymakinen)</li>
<li>Enh #12193: Added the ability to suppress the generation of duplicate error messages in <code v-pre>yii\helpers\Html::errorSummary()</code>. Added the ability to display error messages beyond the first error for each model attribute (PowerGamer1)</li>
<li>Enh #12198: Added <code v-pre>time</code> and <code v-pre>datetime</code> validator short names (nkovacs)</li>
<li>Enh #12230: Allows BaseHtml::activeListInput to override the field value (RangelReale)</li>
<li>Enh #12296: Added value validation to <code v-pre>yii\log\Target::setLevels()</code> (Mak-Di)</li>
<li>Enh #12376: Added parameter to <code v-pre>yii.activeForm.js</code> <code v-pre>validate()</code> method to be able to force validation (DrDeath72)</li>
<li>Enh #12382: Changed <code v-pre>yii\widgets\MaskedInput</code> to use <code v-pre>jQuery</code> instead of <code v-pre>$</code> to prevent conflicts (samdark)</li>
<li>Enh #12440: Added <code v-pre>yii\base\Event::offAll()</code> method allowing clear all registered class-level event handlers (klimov-paul)</li>
<li>Enh #12499: When AJAX validation in enabled, <code v-pre>yii.activeForm.js</code> will run it forcefully on form submit to display all possible errors (silverfire)</li>
<li>Enh #12580: Make <code v-pre>yii.js</code> comply with strict and non-strict javascript mode to allow concatenation with external code (mikehaertl)</li>
<li>Enh #12664: Added support for wildcards for <code v-pre>optional</code> at <code v-pre>yii\filters\auth\AuthMethod</code> (mg-code)</li>
<li>Enh #12744: Added <code v-pre>afterInit</code> event to <code v-pre>yii.activeForm.js</code> (werew01f)</li>
<li>Enh: Method <code v-pre>yii\console\controllers\AssetController::getAssetManager()</code> automatically enables <code v-pre>yii\web\AssetManager::forceCopy</code> in case it is not explicitly specified (pana1990, klimov-paul)</li>
</ul>
<h2 id="_2-0-9-july-11-2016" tabindex="-1"><a class="header-anchor" href="#_2-0-9-july-11-2016"><span>2.0.9 July 11, 2016</span></a></h2>
<ul>
<li>Bug #6347: <code v-pre>inverseOf()</code> not working for dynamic relational queries (laszlovl)</li>
<li>Bug #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL (ricpelo)</li>
<li>Bug #9950: Updated <code v-pre>yii\grid\DataColumn::getHeaderCellLabel()</code> to extract attribute label from the <code v-pre>filterModel</code> of Grid (silverfire)</li>
<li>Bug #10613: Fixed PostgreSQL Schema to return correct column names for unique indexes that have mixed case column names (cebe)</li>
<li>Bug #10681: Fixed active form <code v-pre>beforeValidate</code> wasn’t triggered in some cases (lynicidn)</li>
<li>Bug #11252: Use strict comparison on <code v-pre>ActiveRecord::hasAttribute()</code> to avoid cases where it returns true when a number is passed to it (Faryshta)</li>
<li>Bug #11322: Fixed incorrect error message in <code v-pre>yii\validators\UniqueValidator</code> for composite <code v-pre>targetAttribute</code> (PowerGamer1, silverfire, cebe)</li>
<li>Bug #11429: Fixed <code v-pre>yii\i18n\PhpMessageSource::loadFallbackMessages()</code> not to log error when source and language is same, but locales are different (silverfire)</li>
<li>Bug #11459: Fixed flash messages not destroyed when <code v-pre>session.auto_start = 1</code> set in php.ini (cartmanchen)</li>
<li>Bug #11498: Fixed inability to save serialized object into PostgreSQL binary column (klimov-paul)</li>
<li>Bug #11507: Fixed <code v-pre>yii\validators\EachValidator::validateAttribute()</code> does not respect <code v-pre>skipOnEmpty</code> rule parameter (webdevsega)</li>
<li>Bug #11523: Fixed <code v-pre>yii\web\User::checkRedirectAcceptable()</code> to treat acceptable content type <code v-pre>*/*</code> as <code v-pre>*</code> (silverfire)</li>
<li>Bug #11527: Fixed <code v-pre>bigPrimaryKey()</code> for SQLite (dynasource)</li>
<li>Bug #11528: Fixed <code v-pre>yii\i18n\MessageFormatter</code> construction exception caught for PHP 7 compatibility (subdee, cebe)</li>
<li>Bug #11532: Fixed casting of empty char value to <code v-pre>null</code> resulting in integrity constraint violation for not null columns (samdark)</li>
<li>Bug #11536: Fixed regression introduced in 2.0.8, where scalar value was not allowed in <code v-pre>QueryBuilder</code> <code v-pre>IN</code> condition anymore (cebe)</li>
<li>Bug #11549: Fixed <code v-pre>yii\helpers\ArrayHelper::getValue()</code> to work properly with float keys (zsounder, AnikanovD)</li>
<li>Bug #11561: Fixed DI container throwing exceptions for optional dependencies (SamMousa)</li>
<li>Bug #11571: Fixed <code v-pre>yii\db\ColumnSchemaBuilder</code> to work with custom column types (andrey-mokhov, silverfire)</li>
<li>Bug #11662: Fixed <code v-pre>schema-oci.sql</code> for RBAC (jonny7)</li>
<li>Bug #11672: Fixed <code v-pre>yii\validators\NumberValidator</code> erroring when value is an object without <code v-pre>__toString()</code> method (SamMousa)</li>
<li>Bug #11686: <code v-pre>yii\helpers\ArrayHelper::isIn()</code> comparison did not work in strict mode (taobig)</li>
<li>Bug #11693: Handle <code v-pre>yii\db\QueryBuilder::batchInsert()</code> calls with no data to insert (rob006)</li>
<li>Bug #11723: Fixed PHP 7 + XDebug error handling displaying “Expected array for frame 0” (tanakahisateru)</li>
<li>Bug #11735: Fixed <code v-pre>yii\web\UploadedFile</code> to return <code v-pre>null</code> when there’s no file uploaded (brummm)</li>
<li>Bug #11739: Fixed <code v-pre>yii\helpers\ArrayHelper::index()</code> losing precision for float keys (AnikanovD)</li>
<li>Bug #11774: Fixed incorrect recusuive symlinks check in <code v-pre>yii\helpers\FileHelper</code> (AnikanovD)</li>
<li>Bug #11822: Fixed exception on non-string value provided as CSRF token (cebe)</li>
<li>Bug #11847: Fixed <code v-pre>yii\widgets\Pjax</code> to properly respond with partials when custom selector is used for container (pigochu, samdark)</li>
<li>Bug #11863: Fixed usage of <code v-pre>mb_substr()</code> with PHP &lt; 5.4.8 where length of NULL was treated the same as 0 (samdark)</li>
<li>Bug #11865: Fixed setting <code v-pre>selected</code> for dropdown list using options (samdark)</li>
<li>Bug #11878: Fixed i18n gettext fallback language message loading (stevekr)</li>
<li>Bug #11896: Fix for DROP TRIGGER in migrations from RBAC. (barradas-alberto)</li>
<li>Enh #8795: Refactored <code v-pre>yii\web\User::loginByCookie()</code> in order to make it easier to override (maine-mike, silverfire)</li>
<li>Enh #9574: Implicit run <code v-pre>yii\db\ColumnSchemaBuilder::null()</code> when default value is set to <code v-pre>null</code>. (rob006)</li>
<li>Enh #9948: <code v-pre>yii\rbac\PhpManager</code> now invalidates script file cache performed by ‘OPCache’ or ‘APC’ on file saving (klimov-paul)</li>
<li>Enh #10422: Added <code v-pre>null</code> method on <code v-pre>yii\db\ColumnSchemaBuilder</code> to explicitly set column nullability (nevermnd)</li>
<li>Enh #11168: <code v-pre>yii\helpers\BaseHtml</code> now uses abstracted <code v-pre>booleanInput()</code> and <code v-pre>activeBooleanInput()</code> methods to render <code v-pre>radio()</code>, <code v-pre>checkbox()</code>, <code v-pre>activeRadio()</code> and <code v-pre>activeCheckbox()</code> (cesarnicola)</li>
<li>Enh #11195: Added ability to append custom string to schema builder column definition (df2, samdark)</li>
<li>Enh #11212: Added headers to PO file in <code v-pre>yii\i18n\GettextPoFile::save()</code> (stevekr)</li>
<li>Enh #11414: Files specified as <code v-pre>null</code> in <code v-pre>yii\web\AssetBundle</code> won’t be registered (Razzwan)</li>
<li>Enh #11428: Speedup SQL query in <code v-pre>yii\db\oci\Schema::findColumns()</code> (SSiwek)</li>
<li>Enh #11432: Added HTTP status 421 “Misdirected Request” to list of statuses in <code v-pre>yii\web\Response</code> (dasmfm)</li>
<li>Enh #11438: Configurable <code v-pre>yii\helpers\Markdown</code> default flavor (mdmunir)</li>
<li>Enh #11462: Added support of filtering rules to <code v-pre>yii\log\Target::logVar</code> (HaruAtari)</li>
<li>Enh #11462: Added <code v-pre>yii\helpers\BaseArrayHelper::filter()</code> method (HaruAtari)</li>
<li>Enh #11484: Speed up <code v-pre>yii\db\oci\Schema::loadTableSchema()</code> for Oracle DBMS (SSiwek)</li>
<li>Enh #11490: Added <code v-pre>yii\data\ArrayDataProvider::$modelClass</code> property to specify a model used to provide column labels even when data array is empty (PowerGamer1)</li>
<li>Enh #11591: Added support for wildcards for <code v-pre>only</code> and <code v-pre>except</code> at <code v-pre>yii\base\ActionFilter</code> (klimov-paul)</li>
<li>Enh #11679: Extracted <code v-pre>yii\rbac\CheckAccessInterface</code> from <code v-pre>yii\rbac\ManagerInterface</code> (SamMousa, samdark, mdomba)</li>
<li>Enh #11725: Added indexes on message tables (OndrejVasicek)</li>
<li>Enh #11729: Added <code v-pre>yii\grid\CheckboxColumn::$cssClass</code> property to specify a class added to checkbox input (thiagotalma)</li>
<li>Enh #11808: <code v-pre>_table</code> and <code v-pre>_column</code> suffixes are now required when generating migration (rob006)</li>
<li>Enh #11850: Introduced <code v-pre>yii\widgets\Pjax::$submitEvent</code> to be able to customize event triggering PJAX form submit (Bvanleeuwen)</li>
<li>Enh #11857: <code v-pre>yii\filters\AccessRule::$verbs</code> can now be configured in upper and lowercase (DrDeath72, samdark)</li>
<li>Chg #11364: Updated jQuery dependency to include versions <code v-pre>1.12.*</code> (cebe)</li>
<li>Chg #11683: Fixed fixture command to work with short syntax. <code v-pre>yii fixture &quot;*, -User&quot;</code> should be used instead of <code v-pre>yii fixture &quot;*&quot; -User</code> (Faryshta, samdark)</li>
</ul>
<h2 id="_2-0-8-april-28-2016" tabindex="-1"><a class="header-anchor" href="#_2-0-8-april-28-2016"><span>2.0.8 April 28, 2016</span></a></h2>
<ul>
<li>Bug #7627: Fixed <code v-pre>yii\widgets\ActiveField</code> to handle inputs AJAX validation with changed ID properly (dizeee)</li>
<li>Bug #7717: Fixed the bug that <code v-pre>$properties</code> parameter in <code v-pre>ArrayHelper::toArray()</code> was not passed to recursive calls (quantum13)</li>
<li>Bug #9074: Fixed JS call <code v-pre>$('#grid').yiiGridView('getSelectedRows')</code> when <code v-pre>GridView::$showHeader</code> is set to false (NekitoSP, silverfire)</li>
<li>Bug #9851: Fixed partial commit / rollback in nested transactions (sammousa)</li>
<li>Bug #9935: Fixed <code v-pre>yii\validators\EachValidator</code> does not invoke <code v-pre>validateAttribute()</code> method of the embedded validator (klimov-paul)</li>
<li>Bug #10201: Fixed bug in ActiveRecord, where relational data could not be fetched in case with composite key and join with IN condition (PaulVanSchayck, airmoi, joe-meyer, cebe)</li>
<li>Bug #10235: Fixed <code v-pre>yii\console\Application::runAction()</code> to not to corrupt response object (hiqsol)</li>
<li>Bug #10480: Fixed removing old identity cookie when loggin in as another user without logging out first (maine-mike)</li>
<li>Bug #10617: Fixed <code v-pre>yii\web\Request::getBodyParams()</code> returned <code v-pre>null</code> instead of empty array if request body is empty and content type is application/json (samdark)</li>
<li>Bug #10784: Fixed <code v-pre>yii\grid\CheckboxColumn</code> to set correct value when <code v-pre>yii\grid\CheckboxColumn::$checkboxOptions</code> closure is used (nukkumatti)</li>
<li>Bug #10850: Fixed unable to use ‘definitions’ and ‘aliases’ at <code v-pre>yii\widgets\MaskedInput</code> (rahimov, klimov-paul)</li>
<li>Bug #10884: Fixed <code v-pre>yii\i18n\MessageFormatter</code> for formatting messages when not all parameters are given (laxity7, cebe)</li>
<li>Bug #10935: Fixed cache key collision in <code v-pre>yii\web\UrlManager::createUrl()</code> (sammousa)</li>
<li>Bug #10946: Fixed parameters binding to the SQL query in <code v-pre>yii\db\mysqlSchema::findConstraints()</code> (silverfire)</li>
<li>Bug #10969: Fixed generator migration tool with decimal params in column (pana1990)</li>
<li>Bug #10974: <code v-pre>yii.js</code> - fixed error in ajaxPrefilter event handler, caused by blocked frame (maximal)</li>
<li>Bug #11012: Fixed <code v-pre>yii\web\UploadedFile::getBaseName()</code> to work with UTF-8 file names (hiscaler, silverfire)</li>
<li>Bug #11026: Fixed <code v-pre>yii\helpers\StringHelper::truncateWords()</code> to count words properly for non-English text (samdark, tol17)</li>
<li>Bug #11038: Fixed handling of intervals of 0 seconds in <code v-pre>yii\i18n\Formatter::asDuration()</code> (VirtualRJ)</li>
<li>Bug #11040: Check parameter ‘recursive’ and disable recursive copying with option ‘recursive’ =&gt; false in method BaseFileHelper::copyDirectory (Ni-san)</li>
<li>Bug #11052: Fixed <code v-pre>HtmlPurifier</code> configuration sequence (samdark)</li>
<li>Bug #11066: <code v-pre>yii.js</code> - fixed <code v-pre>getQueryParams()</code> function to handle URLs with anchors correctly (DrDeath72)</li>
<li>Bug #11088: Fixed bug with column name not being quoted correctly, when a quoted table name or a table name in prefix syntax was used (cebe, edgardmessias, Ni-san)</li>
<li>Bug #11093: Fixed <code v-pre>yii\db\QueryBuilder::buildAndCondition()</code> to add query params passed directly by <code v-pre>yii\db\Expression</code> (CedricYii, silverfire)</li>
<li>Bug #11125: Fixed <code v-pre>JSON_ERROR_SYNTAX</code> for <code v-pre>json_decode(null)</code> in PHP 7 (fps01)</li>
<li>Bug #11132: Fixed <code v-pre>yii\widgets\FragmentCache</code> not handling empty content correctly in all cases (kidol)</li>
<li>Bug #11188: Fixed wrong index usage in <code v-pre>CaptchaAction</code> when calling <code v-pre>imagefilledrectangle</code> (alsopub)</li>
<li>Bug #11196: Fixed VarDumper throws PHP Fatal when dumping <code v-pre>__PHP_Incomplete_Class</code> (DamianZ)</li>
<li>Bug #11220: NumberValidator now handles objects properly (samdark)</li>
<li>Bug #11221: Boolean validator generates incorrect error message (azaikin, githubjeka)</li>
<li>Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)</li>
<li>Bug #11228: <code v-pre>yii.activeForm.js</code> - AJAX validation will not be triggered if client side validation failed (silverfire)</li>
<li>Bug #11262: Enabled use of yii2 inside of PHAR packaged console applications (hiqsol)</li>
<li>Bug #11270: Fixed <code v-pre>yii\db\BaseActiveRecord::link()</code> method in order to support closure in <code v-pre>indexBy</code> for relations declaration (iushev)</li>
<li>Bug #11280: Descendants of <code v-pre>yii\console\controllers\BaseMigrateController</code>, like the one for MongoDB, unable to create new migration (klimov-paul)</li>
<li>Bug #11333: Avoid serializing PHP 7 errors (zuozp8)</li>
<li>Bug #11425: Fixed namespace conflict with Markdown helper and Console helper (cebe, mdmunir)</li>
<li>Bug: SQlite querybuilder did not create primary key with bigint for <code v-pre>TYPE_BIGPK</code> (cebe)</li>
<li>Enh #5469: Add mimetype validation by mask in FileValidator (kirsenn, samdark, silverfire)</li>
<li>Enh #7177, #10165: Added support for validating datetime and time values using intl short format to <code v-pre>DateValidator</code> (VirtualRJ, cebe)</li>
<li>Enh #8145, #8139, #10234 #11153: <code v-pre>yii\validators\Validator::$attributes</code> property now supports <code v-pre>!attribute</code> notation to validate attribute, but do not mark it as safe (mdmunir)</li>
<li>Enh #8148: Implemented ability to add comment on table and column in migration (vaseninm, silverfire)</li>
<li>Enh #8505: <code v-pre>yii\db\Query</code> now contains a andFilterCompare() method that allows filtering using operators in the query value (lennartvdd)</li>
<li>Enh #8602: <code v-pre>yii\validators\DateValidator</code> skip validation for <code v-pre>timestampAttribute</code>, if it is already in correct format (klimov-paul)</li>
<li>Enh #8639: Improve ActiveRecord to not create new instances of classes when objects are available (cebe)</li>
<li>Enh #8779: Automatically set <code v-pre>enctype</code> form option when using file input field (pana1990, arogachev)</li>
<li>Enh #9340: Adds <code v-pre>after()</code> and <code v-pre>first()</code> column schema builder modifiers (df2)</li>
<li>Enh #9425: <code v-pre>yii\db\Query::exists()</code> now uses SQL standard <code v-pre>EXISTS()</code> query via new <code v-pre>yii\db\QueryBuilder::selectExists()</code> method to improving performance in some cases (PowerGamer1)</li>
<li>Enh #9562: Adds <code v-pre>char</code> datatype to framework (df2)</li>
<li>Enh #9604: <code v-pre>yii\db\BaseActiveRecord</code> now triggers event <code v-pre>EVENT_AFTER_REFRESH</code> after a record is refreshed (raoul2000)</li>
<li>Enh #9893: <code v-pre>yii.js</code> handleAction enhanced to support for data-form attribute, so links can trigger specific forms (SamMousa)</li>
<li>Enh #10309: Extracted <code v-pre>yii\web\UrlManager</code> rule cache key into <code v-pre>$cacheKey</code> protected property (lordthorzonus)</li>
<li>Enh #10322: ActiveForm now respects <code v-pre>formtarget</code> attribute of submit button (AnatolyRugalev)</li>
<li>Enh #10451: Check of existence of <code v-pre>$_SERVER</code> in <code v-pre>yii\web\Request</code> before using it (quantum13)</li>
<li>Enh #10475: Extracted <code v-pre>getUrlFromCache()</code> and <code v-pre>setRuleToCache()</code> protected methods from <code v-pre>yii\web\UrlManager::createUrl()</code> (dmdark)</li>
<li>Enh #10487: <code v-pre>yii\helpers\BaseArrayHelper::index()</code> got a third parameter <code v-pre>$groupBy</code> to group the input array by the key in one or more dimensions (quantum13, silverfire, samdark)</li>
<li>Enh #10610: Added <code v-pre>BaseUrl::$urlManager</code> to be able to set URL manager used for creating URLs (samdark)</li>
<li>Enh #10631: Split getting label and rendering cell in <code v-pre>yii\grid\DataColumn::renderHeaderCellContent()</code> to make code simpler (t-kanstantsin, samdark)</li>
<li>Enh #10710: <code v-pre>yii\helpers\FileHelper::copyDirectory()</code> is now throwing exception when trying to copy a directory to itself or a subdirectory (wallysalami, cebe, samdark)</li>
<li>Enh #10764: <code v-pre>yii\helpers\Html::tag()</code> and <code v-pre>::beginTag()</code> return content without any HTML when the <code v-pre>$tag</code> attribute is <code v-pre>false</code> or <code v-pre>null</code> (pana1990)</li>
<li>Enh #10840: Added <code v-pre>yii\console\Controller::optionAliases()</code> method to support aliases for commands (pana1990)</li>
<li>Enh #10889: Allows unsigned primary key column definitions (df2)</li>
<li>Enh #10908: Added Dependency Injection for Closure configuration (SamMousa)</li>
<li>Enh #10910: Fixed Captcha client side validation after image refresh, when controller is under module (silverfire)</li>
<li>Enh #10921: <code v-pre>__toString()</code> of column schema builder now adapts to column types (df2)</li>
<li>Enh #10931: Removed hard dependency of <code v-pre>yii\di\Container</code> on <code v-pre>Yii::$app</code> (SamMousa)</li>
<li>Enh #10937: <code v-pre>yii\web\User</code> will now confirm the request accepts an HTML response before redirecting to the login page. Added optional <code v-pre>$checkAcceptHeader</code> to <code v-pre>yii\web\User::loginRequired()</code> (sammousa)</li>
<li>Enh #10941: Added <code v-pre>yii\helpers\ArrayHelper::isTraversable()</code>, added support for traversable selections for dropdownList, radioList and checkboxList in <code v-pre>yii\helpers\Html</code> (sammousa)</li>
<li>Enh #10954: <code v-pre>yii\db\QueryBuilder</code> now accepts <code v-pre>Traversable</code> objects for <code v-pre>in</code> condition (SamMousa, silverfire)</li>
<li>Enh #10967: Simplified Javascript on the exception debug page (SamMousa)</li>
<li>Enh #10976: <code v-pre>yii\helpers\Inflector::transliterate()</code> now uses <code v-pre>strtr</code> instead of <code v-pre>str_replace</code> (DrDeath72)</li>
<li>Enh #11002: <code v-pre>yii\behaviors\AttributeBehavior::$skipUpdateOnClean</code> which determines whether to skip a behavior when the behavior owner has not been modified (Faryshta)</li>
<li>Enh #11056: Allow setting a custom logger configuration for <code v-pre>yii\log\Dispatcher</code> in configuration (bionoren, cebe)</li>
<li>Enh #11058: <code v-pre>yii\web\User::loginRequired()</code> now does not set return URL when request method is not GET (dawei101, silverfire)</li>
<li>Enh #11110: Added migrations for DB session (mdmunir)</li>
<li>Enh #11137: Added weak ETag support to <code v-pre>yii\filters\HttpCache</code>. It could be turned on via setting <code v-pre>$weakEtag</code> to <code v-pre>true</code> (particleflux)</li>
<li>Enh #11139: <code v-pre>yii\validators\EachValidator</code> injects specific attribute value in error message parameters (silverfire)</li>
<li>Enh #11166: migrate command new option <code v-pre>useTablePrefix</code> (Faryshta)</li>
<li>Enh #11187: migrate command now generates PHPDoc for table migrations (Faryshta)</li>
<li>Enh #11207: migrate command can create foreign keys. (Faryshta)</li>
<li>Enh #11254: Added ability to attach RBAC rule using class name (mdmunir)</li>
<li>Enh #11285: <code v-pre>yii\base\Security</code> enhancements (tom–, samdark)
<ul>
<li>Avoid reading more bytes than needed from <code v-pre>/dev/urandom</code> and <code v-pre>/dev/random</code>.</li>
<li>Pefer <code v-pre>/dev/random</code> to <code v-pre>/dev/urandom</code> when running on FreeBSD.</li>
<li>Better RNG performance.</li>
</ul>
</li>
<li>Enh #11336: Allow resettting <code v-pre>$hostInfo</code>, <code v-pre>$scriptUrl</code>, and <code v-pre>$pathInfo</code> in <code v-pre>yii\web\Request</code> and <code v-pre>$baseUrl</code>, and <code v-pre>$hostInfo</code> in <code v-pre>yii\web\UrlManager</code> to <code v-pre>null</code>, to make Yii determine the value again (cebe)</li>
<li>Enh: Added <code v-pre>yii\helpers\StringHelper::countWords()</code> that given a string returns number of words in it (samdark)</li>
<li>Chg #9854: Added <code v-pre>ActiveRecordInterface::populateRelation()</code> to respect the methods called by the implementation (SamMousa)</li>
<li>Chg #10726: Added <code v-pre>yii\rbac\ManagerInterface::canAddChild()</code> (dkhlystov, samdark)</li>
<li>Chg #10921: Inverts responsibility of database specific column schema builder classes (df2)</li>
<li>Chg #11071: <code v-pre>yii\helpers\BaseArrayHelper::isIn()</code> and <code v-pre>isTraversable()</code> since now throw <code v-pre>yii\base\InvalidParamException</code> instead of <code v-pre>InvalidArgumentException</code> (nukkumatti)</li>
<li>Chg #11283: <code v-pre>yii\db\ActiveRecord::unlink()</code> is not setting FK to <code v-pre>null</code> before deleting itself anymore (samdark)</li>
<li>Chg: HTMLPurifier dependency updated to <code v-pre>~4.6</code> (samdark)</li>
<li>New #8920: Added <code v-pre>yii\mutex\PgsqlMutex</code> which implements mutex “lock” mechanism via PgSQL locks (nineinchnick, CSharpRU)</li>
</ul>
<h2 id="_2-0-7-february-14-2016" tabindex="-1"><a class="header-anchor" href="#_2-0-7-february-14-2016"><span>2.0.7 February 14, 2016</span></a></h2>
<ul>
<li>Bug #6351: Find MySQL FK constraints from <code v-pre>information_schema</code> tables instead of <code v-pre>SHOW CREATE TABLE</code> to improve reliability (nineinchnick)</li>
<li>Bug #6363, #8301, #8582, #9566: Fixed data methods and PJAX issues when used together (derekisbusy)</li>
<li>Bug #6876: Fixed RBAC migration MSSQL cascade problem (thejahweh)</li>
<li>Bug #7627: Fixed <code v-pre>yii\widgets\ActiveField</code> to handle inputs validation with changed ID properly (dynasource, cebe)</li>
<li>Bug #7806: Fixed <code v-pre>yii\grid\CheckboxColumn</code> fixed <code v-pre>_all</code> checkbox column name generation (cebe, silverfire)</li>
<li>Bug #7964: Fixed i18n message sources to load fallback messages in a smarter way (silverfire)</li>
<li>Bug #8348: Fixed <code v-pre>yii\helpers\BaseArrayHelper</code> fixed PHP Fatal Error: Nesting level too deep - recursive dependency? (andrewnester)</li>
<li>Bug #8466: Fixed <code v-pre>yii\validators\FileValidator</code> to display error for <code v-pre>tooBig</code> and <code v-pre>tooSmall</code> with formatted unit (silverfire)</li>
<li>Bug #8573: Fixed incorrect data type mapping for NUMBER to INTEGER or DECIMAL in Oracle (vbelogai)</li>
<li>Bug #8723: Fixed <code v-pre>yii\helpers\VarDumper::export()</code> unable to export circle referenced objects with <code v-pre>Closure</code> (klimov-paul)</li>
<li>Bug #9061: Fixed <code v-pre>yii.activeForm.js</code>: input onBlur event forces field validation (githubjeka)</li>
<li>Bug #9108: Negative number resulted in no formatting when using <code v-pre>yii\i18n\Formatter::asSize()</code> or <code v-pre>yii\i18n\Formatter::asShortSize()</code> (nxnx, cebe)</li>
<li>Bug #9288: Fixed <code v-pre>yii\helpers\FileHelper::createDirectory()</code> directory creation to be concurrency friendly (dynasource)</li>
<li>Bug #9314: Fixed <code v-pre>yii\rbac\DbManager::getPermissionsByUser()</code> not returning permissions directly assigned to a user (hesna)</li>
<li>Bug #9323: Fixed <code v-pre>yii\console\controllers\MessageController</code> not using database connection specified in config (raccoon69, samdark)</li>
<li>Bug #9333: Fixed <code v-pre>yii\web\AssetManager</code> to publish bundles using symlink with nested directories in <code v-pre>hash</code> (silverfire)</li>
<li>Bug #9415: Fixed regression in 2.0.6 where on Oracle DB <code v-pre>PDO::ATTR_CASE = PDO::CASE_LOWER</code> did not work anymore (cebe)</li>
<li>Bug #9442: Fixed <code v-pre>yii\db\Migration::renameTable()</code> caused fatal error when using SQLite driver (fetus-hina)</li>
<li>Bug #9452: Fixed <code v-pre>yii\db\Query::where()</code> does not add params from directly passed <code v-pre>yii\db\Expression</code> (klimov-paul)</li>
<li>Bug #9454: Fixed MSSQL MARS wasn’t working with transactions (daliran)</li>
<li>Bug #9583: Server response on invalid JSON request included a wrong message about “Internal Server Error” with status 500 (cebe)</li>
<li>Bug #9591: Fixed <code v-pre>yii.validation.js</code> code so it is compressable by YUICompressor (samdark, hofrob)</li>
<li>Bug #9596: Fixed <code v-pre>yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' =&gt; 'testHash'])</code> losing hash (alchimik, samdark)</li>
<li>Bug #9670: Fixed PJAX redirect in IE. <code v-pre>yii\web\Response::redirect()</code> - added check for <code v-pre>X-Ie-Redirect-Compatibility</code> header (silverfire)</li>
<li>Bug #9678: <code v-pre>yii\i18n\I18N::format()</code> wasn’t able to handle named placeholder in “selectordinal” (samdark)</li>
<li>Bug #9681: <code v-pre>yii\helpers\Json::encode()</code> was erroring under CYGWIN (samdark)</li>
<li>Bug #9689: Hidden input on <code v-pre>Html::activeFileInput()</code> had the wrong name if a name was explicitly given (graphcon, cebe)</li>
<li>Bug #9707: Fixed Memcache duration which exceeds 30 days (vernik91)</li>
<li>Bug #9714: Fixed <code v-pre>yii\rbac\PhpManager::updateItem()</code> unable to save users assignments (rezident1307)</li>
<li>Bug #9754: Fixed <code v-pre>yii\web\Request</code> error when path info is empty (dynasource)</li>
<li>Bug #9790: Fixed <code v-pre>yii\db\sqlite\QueryBuilder</code> to generate proper SQL for UNION (romeOz, samdark)</li>
<li>Bug #9791: Fixed endless loop on file creation for non-existing device letters on windows (lukos, cebe)</li>
<li>Bug #9874: Fixed outputting exception stacktrace in non-debug mode when <code v-pre>Response::FORMAT_RAW</code> is used (nainoon)</li>
<li>Bug #9883: Passing a single <code v-pre>yii\db\Expression</code> to <code v-pre>Query::select()</code> or <code v-pre>::addSelect()</code> was not handled correctly in all cases (cebe)</li>
<li>Bug #9911: Fixed <code v-pre>yii\helpers\BaseStringHelper::explode()</code> code so it doesn’t remove items equal to 0 when <code v-pre>skip_empty</code> is true (silverfire, kidol)</li>
<li>Bug #9924: Fixed <code v-pre>yii.js</code> handleAction corrupted parameter values containing quote (“) character (silverfire)</li>
<li>Bug #9984: Fixed wrong captcha color in case Imagick is used (DrDeath72)</li>
<li>Bug #9999: Fixed <code v-pre>yii\web\UrlRule</code> to allow route parameter names with <code v-pre>-</code>, <code v-pre>_</code>, <code v-pre>.</code>characters (silverfire)</li>
<li>Bug #10029: Fixed <code v-pre>yii\widgets\MaskedInput</code> not working with PJAX (martrix78, samdark)</li>
<li>Bug #10052: Fixed <code v-pre>yii\i18n\Formatter</code> to work with huge numbers on 32-bit arch (necrox87, silverfire)</li>
<li>Bug #10101: Fixed assignments saving on role removing in <code v-pre>yii\rbac\PhpManager</code> (rezident1307)</li>
<li>Bug #10142: Fixed <code v-pre>yii\validators\EmailValidator</code> to check the length of email properly (silverfire)</li>
<li>Bug #10218: Fixed Flash messages not showing after logging out a user (andrewnester)</li>
<li>Bug #10263: Fixed <code v-pre>yii\validators\UniqueValidator</code> to work properly when model is not instance of <code v-pre>targetClass</code> (bupy7, githubjeka, silverfire)</li>
<li>Bug #10278: Fixed <code v-pre>yii\helpers\BaseJson</code> support \SimpleXMLElement data (SilverFire, LAV45)</li>
<li>Bug #10302: Fixed JS function <code v-pre>yii.getQueryParams</code>, which parsed array variables incorrectly (servocoder, silverfire)</li>
<li>Bug #10363: Fixed fallback float and integer formatting (AnatolyRugalev, silverfire)</li>
<li>Bug #10385: Fixed <code v-pre>yii\validators\CaptchaValidator</code> passed incorrect hashKey to JS validator when <code v-pre>captchaAction</code> begins with <code v-pre>/</code> (silverfire)</li>
<li>Bug #10467: Fixed <code v-pre>yii\di\Instance::ensure()</code> to work with minimum settings (LAV45)</li>
<li>Bug #10541: Fixed division by zero issue in <code v-pre>Console</code> helper progress bar (youmad)</li>
<li>Bug #10580: Fixed <code v-pre>yii\grid\GridView::guessColumns()</code> to work with numeric column names (silverfire)</li>
<li>Bug #10625: Fixed <code v-pre>activeForm.js</code> - when submit doesn’t reload page, submit button value simulation with hidden input did not work (andrewnester)</li>
<li>Bug #10629: Fixed <code v-pre>yii\helpers\BaseStringHelper</code> - BaseStringHelper::truncateHtml adds suffix regardless of the string length (andrewnester)</li>
<li>Bug #10692: Fixed default value extraction in PostgreSQL Schema for null values (wallysalami, gabrielhomsi)</li>
<li>Bug #10739: Fixed <code v-pre>yii\web\UrlManager::parseRequest()</code> to treat request URL with more than one slash at the end as invalid (andrewnester)</li>
<li>Bug #10751: Fixed <code v-pre>yii\validators\UrlValidator</code> pattern to improve matching (silverfire)</li>
<li>Bug #10760: <code v-pre>yii\widgets\DetailView::normalizeAttributes()</code> fixed for arrayable models (boehsermoe)</li>
<li>Bug #10825: Fixed <code v-pre>yii\validators\EachValidator</code> does not respect <code v-pre>skipOnEmpty</code> rule parameter (klimov-paul)</li>
<li>Bug: Fixed generation of canonical URLs for <code v-pre>ViewAction</code> pages (samdark)</li>
<li>Bug: Fixed <code v-pre>mb_*</code> functions calls to use <code v-pre>UTF-8</code> or <code v-pre>Yii::$app-&gt;charset</code> (silverfire)</li>
<li>Enh #2377: Allow specifying a table alias when joining relations via <code v-pre>joinWith()</code> (cebe, nainoon)</li>
<li>Enh #3506: Added <code v-pre>yii\validators\IpValidator</code> to perform validation of IP addresses and subnets (SilverFire, samdark)</li>
<li>Enh #4972: Added <code v-pre>yii\db\ActiveQuery::alias()</code> to allow specifying a table alias for the model table without having to know the name (cebe, stepanselyuk)</li>
<li>Enh #5146: Added <code v-pre>yii\i18n\Formatter::asDuration()</code> method (nineinchnick, SilverFire)</li>
<li>Enh #5902: <code v-pre>yii\widgets\Pjax::options</code> now support special option <code v-pre>tag</code> to specify tag of container (Alex-Code)</li>
<li>Enh #6162, #9198: Added parameter visibleButtons for <code v-pre>yii\grid\ActionColumn</code> (fornit1917, silverfire)</li>
<li>Enh #7341: Client validation now skips disabled inputs (SamMousa)</li>
<li>Enh #7405: Added <code v-pre>yii\filters\auth\AuthMethod::optional</code> for optional authentification in all child classes (SilverFire)</li>
<li>Enh #7566: Improved <code v-pre>yii\validators\CompareValidator</code> default messages (slinstj)</li>
<li>Enh #7581: Added ability to specify range using anonymous function in <code v-pre>RangeValidator</code> (RomeroMsk)</li>
<li>Enh #7674: Added <code v-pre>yii\db\Connection::commandClass</code> to configure a command class that will be used by the connection (sammousa, silverfire, cebe)</li>
<li>Enh #8284: Added <code v-pre>yii\captcha\CaptchaAction::$imageLibrary</code> property allowing to set image rendering library (AnatolyRugalev)</li>
<li>Enh #8329: Added support of options for <code v-pre>message</code> console command (vchenin)</li>
<li>Enh #8613: <code v-pre>yii\widgets\FragmentCache</code> will not store empty content anymore which fixes some problems related to <code v-pre>yii\filters\PageCache</code> (kidol)</li>
<li>Enh #8649: Added total applied migrations to final report (vernik91)</li>
<li>Enh #8687: Added support for non-gregorian calendars, e.g. persian, taiwan, islamic to <code v-pre>yii\i18n\Formatter</code> (cebe, z-avanes, hooman-mirghasemi)</li>
<li>Enh #8824: Allow passing a <code v-pre>yii\db\Expression</code> to <code v-pre>Query::groupBy()</code> (cebe)</li>
<li>Enh #8995: <code v-pre>yii\validators\FileValidator::maxFiles</code> can be set to <code v-pre>0</code> to allow unlimited count of files (PowerGamer1, silverfire)</li>
<li>Enh #9282: Improved JSON error handling to support PHP 5.5 error codes (freezy-sk)</li>
<li>Enh #9337: Added <code v-pre>yii\db\ColumnSchemaBuilder::defaultExpression()</code> to support DB Expression as default value (kotchuprik)</li>
<li>Enh #9412: <code v-pre>yii\web\Response::sendHeaders()</code> does now set the status header last which negates certain magic PHP behavior regarding the <code v-pre>header()</code> function (nd4c, kidol)</li>
<li>Enh #9443: Added <code v-pre>unsigned()</code> to <code v-pre>ColumnSchemaBuilder</code> (samdark)</li>
<li>Enh #9465: ./yii migrate/create now generates code based on migration name and –fields (pana1990)</li>
<li>Enh #9573: Added <code v-pre>yii\rbac\ManagerInterface::getUserIdsByRole()</code> and implementations (samdark)</li>
<li>Enh #9635: Added default CSS class for <code v-pre>yii\grid\ActionColumn</code> header (arogachev, dynasource)</li>
<li>Enh #9643: Added migrations for DB cache (mdmunir)</li>
<li>Enh #9711: Added <code v-pre>yii\widgets\LinkPager::$pageCssClass</code> that allows to set default page class (ShNURoK42)</li>
<li>Enh #9733: Added Unprocessable Entity HTTP Exception (janfrs)</li>
<li>Enh #9762: Added <code v-pre>yii\web\JsonResponseFormatter::$encodeOptions</code> and <code v-pre>::$prettyPrint</code> for better JSON output formatting (cebe)</li>
<li>Enh #9783: jQuery inputmask dependency updated to <code v-pre>~3.2.2</code> (samdark)</li>
<li>Enh #9785: Added ability to invoke callback with dependency resolution to DI container (mdmunir, SamMousa)</li>
<li>Enh #9869: Allow path alias for SQLite database files in DSN config (ASlatius)</li>
<li>Enh #9901: Default <code v-pre>Cache.SerializerPermissions</code> configuration option for <code v-pre>HTMLPurifier</code> is set to <code v-pre>0775</code> (klimov-paul)</li>
<li>Enh #10056: Allowed any callable to be passed to <code v-pre>yii\grid\ActionColumn::$urlCreator</code> (freezy-sk)</li>
<li>Enh #10061: <code v-pre>yii\helpers\BaseInflector::transliterate()</code> is now public. Introduced different levels of transliteration strictness (silverfire)</li>
<li>Enh #10078: Added <code v-pre>csrf</code> option to <code v-pre>Html::beginForm()</code> to allow disabling the hidden csrf field generation (machour)</li>
<li>Enh #10086: <code v-pre>yii\base\Controller::viewPath</code> is now configurable (Sibilino)</li>
<li>Enh #10098: Changed <code v-pre>yii.confirm</code> context to the event’s target DOM element which is triggered by clickable or changeable elements (lichunqiang)</li>
<li>Enh #10108: Added support for events in interfaces (omnilight)</li>
<li>Enh #10118: Allow easy extension of slug generation in <code v-pre>yii\behaviors\SluggableBehavior</code> (cebe, hesna, silverfire)</li>
<li>Enh #10149: Made <code v-pre>yii\db\Connection</code> serializable (Sam Mousa)</li>
<li>Enh #10154: Implemented support of traversable objects in <code v-pre>RangeValidator::ranges</code>, added <code v-pre>ArrayHelper::isIn()</code> and <code v-pre>ArrayHelper::isSubset()</code> (Sam Mousa)</li>
<li>Enh #10158: Added the possibility to specify CSS and Javascript options per file in <code v-pre>yii\web\AssetBundle</code> (machour)</li>
<li>Enh #10170: <code v-pre>Yii::powered()</code> now uses <code v-pre>Yii::t()</code> (SamMousa)</li>
<li>Enh #10217: Support for selecting multiple filter values with the same name was added to <code v-pre>yii.gridView.js</code> (omnilight, silverfire)</li>
<li>Enh #10255: Added Yii warning to session initialization if session was already started (AnatolyRugalev)</li>
<li>Enh #10264: Generation of HTML tags in Yii’s JavaScript now uses jQuery style (silverfire)</li>
<li>Enh #10267: <code v-pre>yii.js</code> - added original event passing to <code v-pre>pjaxOptions</code> for links with <code v-pre>data-method</code> and <code v-pre>data-pjax</code> (servocoder, silverfire)</li>
<li>Enh #10319: <code v-pre>yii\helpers\VarDumper::dump()</code> now respects PHP magic method <code v-pre>__debugInfo()</code> (klimov-paul)</li>
<li>Enh #10359: Support wildcard category name in <code v-pre>yii/console/controllers/MessageController</code> (rmrevin)</li>
<li>Enh #10390: Added ability to disable outer tag for <code v-pre>yii\helpers\BaseHtml::radiolist()</code>, <code v-pre>::checkboxList()</code> (TianJinRong, githubjeka, silverfire)</li>
<li>Enh #10535: Allow passing a <code v-pre>yii\db\Expression</code> to <code v-pre>yii\db\Query::orderBy()</code> and <code v-pre>yii\db\Query::groupBy()</code> (andrewnester, cebe)</li>
<li>Enh #10545: <code v-pre>yii\web\XMLResponseFormatter</code> changed to format models in a proper way (andrewnester)</li>
<li>Enh #10783: Added migration and unit-tests for <code v-pre>yii\i18n\DbMessageSource</code> (silverfire)</li>
<li>Enh #10797: Cleaned up requirements checker CSS (muhammadcahya)</li>
<li>Enh: Added last resort measure for <code v-pre>yii\helpers\FileHelper::removeDirectory()</code> fail to unlink symlinks under Windows (samdark)</li>
<li>Enh: <code v-pre>yii\behaviors\AttributeBehavior::getValue()</code> now respects the callable in array format (silverfire)</li>
<li>Chg #6419: Added <code v-pre>yii\web\ErrorHandler::displayVars</code> make list of displayed vars customizable. <code v-pre>$_ENV</code> and <code v-pre>$_SERVER</code> are not displayed by default anymore (silverfire)</li>
<li>Chg #9369: <code v-pre>Yii::$app-&gt;user-&gt;can()</code> now returns <code v-pre>false</code> instead of erroring in case <code v-pre>authManager</code> component is not configured (creocoder)</li>
<li>Chg #9411: <code v-pre>DetailView</code> now automatically sets container tag ID in case it’s not specified (samdark)</li>
<li>Chg #9528: <code v-pre>Traversable</code> objects are now formatted as arrays in <code v-pre>yii\web\XmlResponseFormatter</code> to support SPL objects and Generators (MaXL-ru)</li>
<li>Chg #9878, #9879, #9880: Make <code v-pre>yii\base\Security</code> use <code v-pre>random_bytes()</code>, LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer <code v-pre>password_hash()</code> over <code v-pre>crypt()</code> (tom–)</li>
<li>Chg #9953: <code v-pre>yii\behaviors\TimestampBehavior::getValue()</code> changed to make value processing consistent with <code v-pre>AttributeBehavior::getValue()</code> (silverfire)</li>
<li>Chg #10296: Methods mset, mget and madd of <code v-pre>yii\caching\Cache</code> have been marked as deprecated (trejder, githubjeka)</li>
<li>Chg: ApcCache is now able to handle PHP 7 APCu (samdark)</li>
<li>Chg: <code v-pre>yii\behaviors\BlameableBehavior::getValue()</code> changed to make value processing consistent with <code v-pre>yii\behaviors\AttributeBehavior::getValue()</code> (silverfire)</li>
<li>New #10083: Added wrapper for PHP webserver (samdark)</li>
<li>New: Added new requirement: ICU Data version &gt;= 49.1 (SilverFire)</li>
</ul>
<h2 id="_2-0-6-august-05-2015" tabindex="-1"><a class="header-anchor" href="#_2-0-6-august-05-2015"><span>2.0.6 August 05, 2015</span></a></h2>
<ul>
<li>Bug #4763: Fixed display issue with overlapping call stack item on exception display page (cebe)</li>
<li>Bug #7305: Logging of Exception objects resulted in failure of the logger i.e. no logs being written (cebe)</li>
<li>Bug #7374: Use proper INSERT syntax with default values when no values are specified (nineinchnick)</li>
<li>Bug #7707: Client-side <code v-pre>trim</code> validator now passes the trimmed value to subsequent validators (nkovacs)</li>
<li>Bug #7764: <code v-pre>yii\helpers\ArrayHelper::toArray()</code> wasn’t passing <code v-pre>$recursive</code> to <code v-pre>yii\base\Arrayable::toArray()</code> (brandonkelly)</li>
<li>Bug #8161: Fixed active form <code v-pre>data-method</code> submit bug when client validation is used (vbelogai)</li>
<li>Bug #8322: <code v-pre>yii\behaviors\TimestampBehavior::touch()</code> now throws an exception if owner is new record (klimov-paul)</li>
<li>Bug #8451: <code v-pre>yii\i18n\Formatter</code> did not allow negative unix timestamps as input for date formatting (cebe)</li>
<li>Bug #8483: Sequence name in <code v-pre>Schema::getLastInsertId()</code> was not properly quoted (nineinchnick)</li>
<li>Bug #8506: Cleaning of output buffer in <code v-pre>Widget::run()</code> conflicts with <code v-pre>Pjax</code> widget which did the cleanup itself (cebe, joester89)</li>
<li>Bug #8544: Fixed <code v-pre>yii\db\ActiveRecord</code> does not update attribute specified at <code v-pre>optimisticLock()</code> after save (klimov-paul)</li>
<li>Bug #8549: Fixed <code v-pre>yii\caching\FileCache</code> doesn’t lock cache files when reading (iworker)</li>
<li>Bug #8551: <code v-pre>yii\pgsql\QueryBuilder::batchInsert()</code> may cause “undefined index” error (arkhamvm)</li>
<li>Bug #8585: Fixed <code v-pre>yii\helpers\Html::activeTextarea()</code> does not allow value overriding via options (klimov-paul)</li>
<li>Bug #8592: Fixed <code v-pre>yii\db\Command::getRawSql()</code> unable to parse params specified without colon (‘:’) (klimov-paul)</li>
<li>Bug #8593: Fixed <code v-pre>yii\db\ActiveQuery</code> produces incorrect SQL for aggregations, when <code v-pre>sql</code> field is set (klimov-paul)</li>
<li>Bug #8595: Fixed <code v-pre>yii\rbac\DbManager::checkAccessFromCache()</code> to check against auth items loaded in cache recursively (achretien, qiangxue)</li>
<li>Bug #8606: Fixed <code v-pre>yii\web\Response::xSendFile()</code> does not reset format (vyants)</li>
<li>Bug #8627: Fixed <code v-pre>yii\db\Migration</code> produces incorrect results due to table schema caching (klimov-paul)</li>
<li>Bug #8661: Fixed <code v-pre>yii.activeForm.js</code> scrolling to top (nkovacs)</li>
<li>Bug #8684: Formatter ignored explicit decimal number settings when a default value is configured (leandrogehlen, cebe)</li>
<li>Bug #8772: <code v-pre>yii\db\ActiveQuery</code> failed removing duplicate records after join when the resultset did not contain the pk values e.g. after grouping (cebe)</li>
<li>Bug #8844: Added a workaround for an oracle bug when fetching information about table constraints and filtering by <code v-pre>CONSTRAINT_TYPE</code> (nidgetgod)</li>
<li>Bug #8900: Fixed determining active menu item with URL-alias in route <code v-pre>yii\widgets\Menu::isItemActive()</code> (demi)</li>
<li>Bug #9006: Fixed bit column always returning true using certain version of PDO MySQL (stratoss, RusAlex, mj4444ru, samdark)</li>
<li>Bug #9046: Fixed problem with endless error loop when an error occurred after sending a stream or file download response to the user (cebe)</li>
<li>Bug #9059: Fixed PHP Notice in error handler view (dynasource, andrewnester, samdark)</li>
<li>Bug #9063: Workaround for MySQL losing table case when adding index (sebathi)</li>
<li>Bug #9076: Fixed <code v-pre>yii\filters\PageCache</code> not using the configured duration and dependency when caching the response data (kidol)</li>
<li>Bug #9091: <code v-pre>yii\web\UrlManager::createUrl()</code> did not create correct URL when defaults were used, internal cache is now skipped in certain situations (cebe)</li>
<li>Bug #9127, #9128: Fixed MSSQL <code v-pre>yii\helpers\mssql\QueryBuilder::renameColumn()</code> and <code v-pre>yii\helpers\mssql\QueryBuilder::renameTable()</code> escaping (sitawit)</li>
<li>Bug #9161: Fixed <code v-pre>yii\web\Request</code> ignore <code v-pre>queryParams</code> when resolve request (zetamen)</li>
<li>Bug: Fixed string comparison in <code v-pre>yii\db\BaseActiveRecord::unlink()</code> which may result in wrong comparison result for hash valued primary keys starting with <code v-pre>0e</code> (cebe)</li>
<li>Bug: Pass correct action name to <code v-pre>yii\console\Controller::options()</code> when default action was requested (cebe)</li>
<li>Bug: Automatic garbage collection in <code v-pre>yii\caching\FileCache</code> was not triggered (kidol)</li>
<li>Bug: Fixed missing stacktrace items on PHP syntax errors of “unexpected end of file” type (samdark)</li>
<li>Enh #3335: Implemented <code v-pre>yii\db\ColumnSchemaBuilder</code> (pana1990, vaseninm, samdark, cebe)</li>
<li>Enh #5991: Added <code v-pre>updateMessages()</code> to <code v-pre>yii.activeForm.js</code> to support manually updating ActiveForm messages (nkovacs)</li>
<li>Enh #6043: Specification for ‘class’ and ‘style’ in array format added to <code v-pre>yii\helpers\Html</code> (klimov-paul)</li>
<li>Enh #6853: Console application will now register PHP constants for <code v-pre>STDIN</code>, <code v-pre>STDOUT</code>, and <code v-pre>STDERR</code> itself if they are not defined (cebe)</li>
<li>Enh #7169: <code v-pre>yii\widgets\ActiveField</code> now uses corresponding methods for default parts rendering (klimov-paul)</li>
<li>Enh #7259: Added <code v-pre>errorAttributes</code> parameter to ActiveForm <code v-pre>afterValidate</code> event. Made scrolling to first error optional (nkovacs)</li>
<li>Enh #8070: <code v-pre>yii\console\controllers\MessageController</code> now sorts created messages, even if there is no new one, while saving to PHP file (klimov-paul)</li>
<li>Enh #8286: <code v-pre>yii\console\controllers\MessageController</code> improved allowing extraction of nested translator calls (klimov-paul)</li>
<li>Enh #8373: Check also <code v-pre>post_max_size</code> parameter in <code v-pre>yii\validators\FileValidator::getSizeLimit()</code> (maxxer)</li>
<li>Enh #8415: <code v-pre>yii\helpers\Html</code> allows correct rendering of conditional comments containing <code v-pre>!IE</code> (salaros, klimov-paul)</li>
<li>Enh #8444: Added <code v-pre>yii\widgets\LinkPager::$linkOptions</code> to allow configuring HTML attributes of the <code v-pre>a</code> tags (zinzinday)</li>
<li>Enh #8486: Added support to automatically set the <code v-pre>maxlength</code> attribute for <code v-pre>Html::activeTextArea()</code> and <code v-pre>Html::activePassword()</code> (klimov-paul)</li>
<li>Enh #8566: Added support for ‘only’ and ‘except’ options for <code v-pre>yii\web\AssetManager::publish()</code> (klimov-paul)</li>
<li>Enh #8574: Added <code v-pre>yii\console\controllers\MessageController</code> support .pot file creation (pgaultier)</li>
<li>Enh #8625: Added <code v-pre>markUnused</code> option to <code v-pre>yii\console\controllers\MessageController</code> (marius7383)</li>
<li>Enh #8670: Added support for saving extra fields in session table for <code v-pre>yii\web\DbSession</code> (klimov-paul)</li>
<li>Enh #8671: Extracted <code v-pre>yii\helpers\Html::escapeJsRegularExpression()</code> method from <code v-pre>yii\validators\RegularExpressionValidator</code> (silverfire, klimov-paul, samdark, qiangxue)</li>
<li>Enh #8903: PostgreSQL <code v-pre>yii\db\pgsql\QueryBuilder::createIndex()</code> can now specify the index method to use (LAV45)</li>
<li>Enh #8933: Yii is now able to properly handle HHVM fatal errors (dieend, samdark)</li>
<li>Enh #9011: Allow <code v-pre>yii\widgets\MaskedInput</code> to produce an input tag of a custom type (TriAnMan)</li>
<li>Enh #9038: Write warning to log in case <code v-pre>FileCache</code> fails to write into file (foccy)</li>
<li>Enh #9072: <code v-pre>yii\web\ErrorAction</code> displays 404 error instead of blank page on direct access (klimov-paul)</li>
<li>Enh #9149: Print directory migrationPath in a <code v-pre>yii migrate</code> command error. (RusAlex)</li>
<li>Enh #9177: Added password hash cost setting to Security component (freezy-sk)</li>
<li>Enh #9239: Better handling of <code v-pre>Json</code> errors (grzegorzkurtyka, samdark)</li>
<li>Enh #9246: Added <code v-pre>yii\web\UrlRule::getParamRules()</code> (df2)</li>
<li>Enh #9249: Added <code v-pre>hashCallback</code> in <code v-pre>yii\web\AssetManager</code> to allow custom hash generation for asset directory (petrabarus)</li>
<li>Enh #9263: Avoid extra DB query in RBAC DbManager in case auth item name is empty (samdark)</li>
<li>Enh #9268: Improved display of boolean parameters in logged SQL queries (arkhamvm, samdark)</li>
<li>Enh: Improved Console helper progress bar ETA time estimation, updated only once per second to avoid flapping (cebe)</li>
<li>Chg #6354: <code v-pre>yii\base\ErrorHandler::logException()</code> will now log the whole exception object instead of only its string representation (cebe)</li>
<li>Chg #8556: Extracted <code v-pre>yii\web\User::getAuthManager()</code> method (samdark)</li>
<li>Chg #9181: <code v-pre>yii\helpers\BaseStringHelper::truncateHtml()</code> is now using <code v-pre>runtime</code> directory for <code v-pre>HTMLPurifier</code> cache (webdevsega)</li>
</ul>
<h2 id="_2-0-5-july-11-2015" tabindex="-1"><a class="header-anchor" href="#_2-0-5-july-11-2015"><span>2.0.5 July 11, 2015</span></a></h2>
<ul>
<li>Bug #9070 (CVE-2015-5467): Fixed <code v-pre>ViewAction::resolveViewName()</code> not to accept <code v-pre>/../</code> and <code v-pre>/./</code> (thejahweh, samdark)</li>
</ul>
<h2 id="_2-0-4-may-10-2015" tabindex="-1"><a class="header-anchor" href="#_2-0-4-may-10-2015"><span>2.0.4 May 10, 2015</span></a></h2>
<ul>
<li>Bug #5042: Use <code v-pre>RETURNING</code> for inserts for pgsql and oci to support PKs with a custom default value expression (nineinchnick, klimov-paul)</li>
<li>Bug #6234: Fixed wrong table schema information for MSSQL when using multiple schemas (nineinchnick)</li>
<li>Bug #6642: Fixed the bug that using confirmation dialog via <code v-pre>data-confirm</code> in an <code v-pre>yii\widgets\ActiveForm</code> may cause the dialog to appear twice (pana1990, qiangxue)</li>
<li>Bug #6871: Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue (qiangxue)</li>
<li>Bug #7036: Fixed <code v-pre>yii\helpers\Html::dropDownList()</code> overrides label specified at ‘groups’ option (aktec, klimov-paul)</li>
<li>Bug #7473: Fixed <code v-pre>yii\console\controllers\AssetController</code> does not create missing folders for the target bundles (schmunk42, klimov-paul)</li>
<li>Bug #7894: Fixed incorrect URL config processing at <code v-pre>yii\web\Application::handleRequest()</code> and <code v-pre>yii\widgets\Menu::items</code> if route element is not a first one (nkovacs, klimov-paul)</li>
<li>Bug #7529: Fixed <code v-pre>yii\web\Response::sendContentAsFile()</code> that was broken in 2.0.3 (samdark)</li>
<li>Bug #7603: Fixed escape characters in <code v-pre>FormatConverter</code> to work with unicode characters (maddoger, cebe)</li>
<li>Bug #7656: Fixed <code v-pre>yii\rbac\DbManager::getRolesByUser()</code> and <code v-pre>yii\rbac\PhpManager::getRolesByUser()</code> to return roles only (samdark)</li>
<li>Bug #7757: Fix fetching tables schema for oci and mysql when <code v-pre>PDO::ATTR_CASE</code> is set (nineinchnick)</li>
<li>Bug #7761: Fixed formatting one digit month in date formatter using ICU format <code v-pre>L</code> (nkovacs)</li>
<li>Bug #7775: Added more strict check on controller IDs when they are being used to create controller instances on Windows (Bhoft, qiangxue)</li>
<li>Bug #7831: Add order when fetching database table names and constraints (nineinchnick)</li>
<li>Bug #7846: Fixed <code v-pre>yii\base\Model</code> does not recognize scenario declared by rules using ‘except’ (klimov-paul)</li>
<li>Bug #7847: <code v-pre>yii\db\ColumnSchema</code> was typecasting numerics to strings with incorrect decimal separator for some locales (nineinchnick)</li>
<li>Bug #7861: Fixed <code v-pre>yii\helpers\VarDumper::export()</code> fails to export object containing <code v-pre>Closure</code> (klimov-paul)</li>
<li>Bug #7867: Fixed <code v-pre>findUniqueIndexes()</code> not to perform any processing on unique index on function for pgsql (nineinchnick)</li>
<li>Bug #7868: Fixed fetching columns definition and composite foreign keys for oci (nineinchnick)</li>
<li>Bug #7868: Removed column’s autoIncrement detection from oci (nineinchnick)</li>
<li>Bug #7868: Fixed creating raw SQL (for logging) by skipping object and resource params (nineinchnick)</li>
<li>Bug #7868: Fixed `yii\db\Schema::getLastInsertID()`` by quoting sequence name (nineinchnick)</li>
<li>Bug #7957: Removed extra <code v-pre>parseFloat()</code> call for the <code v-pre>compare</code> js validator (CthulhuDen)</li>
<li>Bug #8012: Fixed fetching multiple relations between two tables for pgsql (nineinchnick)</li>
<li>Bug #8014: Fixed setting incorrect form “action” property after submitting a form using a link with “data-method” and containing “action” among “data-params” (samdark)</li>
<li>Bug #8032: <code v-pre>yii\rbac\PhpManager::updateItem()</code> was unable to rename item updated (ChristopheBrun, samdark)</li>
<li>Bug #8036: Fixed <code v-pre>yii\log\Logger</code> unable to export session id (klimov-paul)</li>
<li>Bug #8068: Fixed <code v-pre>yii\db\Query::count()</code> fails for query containing ‘having’ without ‘group by’ (klimov-paul)</li>
<li>Bug #8073: Fixed <code v-pre>yii\data\ArrayDataProvider::getKeys()</code> return wrong when <code v-pre>yii\data\ArrayDataProvider::$allModels</code> contain integer key (mdmunir, klimov-paul)</li>
<li>Bug #8082: Fixed <code v-pre>yii\db\BaseActiveRecord::getAttributeLabel()</code> return wrong label for related attribute, if several relations in chain share same name (klimov-paul)</li>
<li>Bug #8149: Fixed <code v-pre>yii\db\BaseActiveRecord::updateCounters()</code> fails for new record saved with counter attribute not set (klimov-paul)</li>
<li>Bug #8158: Avoid exception when detecting console screen size fails on windows (EliasZ)</li>
<li>Bug #8165: Fixed <code v-pre>yii\db\ActiveRelationTrait::populateRelation()</code> fails when <code v-pre>link</code> refers to string convertable object attribute, like <code v-pre>MongoId</code> (klimov-paul)</li>
<li>Bug #8231: Configuration of GridView and DetailView where not preserved when used multiple times (cebe, idMolotov)</li>
<li>Bug #8273: Fixed <code v-pre>yii\widgets\FragmentCache</code> when <code v-pre>enabled</code> is false (nkovacs)</li>
<li>Bug #8291: Fixed numeric keys in <code v-pre>$_GET</code> transformed to 0-based, if ‘pretty URL’ enabled (quantum13, klimov-paul)</li>
<li>Bug #5053: DateValidator is now more robust against different timezone settings (cebe)</li>
<li>Bug (CVE-2015-3397): Added <code v-pre>yii\helpers\Json::htmlEncode()</code> to support safer JSON data encoding in HTML code (samdark, Wojciech Janusz, Tomasz Tokarski)</li>
<li>Enh #1468: Added ability to specify hints for model attributes via <code v-pre>attributeHints()</code> method (klimov-paul)</li>
<li>Enh #3376: Added <code v-pre>yii\validators\EachValidator</code>, which allows validation of the array attributes (klimov-paul)</li>
<li>Enh #5053: Added possibility to specify a format and time zone for the <code v-pre>timestampAttribute</code> of date validator making it fully usable for validating complete timestamps (cebe)</li>
<li>Enh #6442: Improved error message on <code v-pre>yii\helpers\FileHelper::createDirectory()</code> to include the path name of the directory (cebe)</li>
<li>Enh #6895: Added <code v-pre>ignoreCategories</code> config option for message command to ignore categories specified (samdark)</li>
<li>Enh #6975: Pressing arrows while focused in inputs of Active Form with <code v-pre>validateOnType</code> enabled no longer triggers validation (slinstj)</li>
<li>Enh #7409: Allow <code v-pre>yii\filters\auth\CompositeAuth::authMethods</code> to take authentication objects (fernandezekiel, qiangxue)</li>
<li>Enh #7443: Allow specification of the <code v-pre>$key</code> as an array at <code v-pre>yii\helpers\ArrayHelper::getValue()</code> (Alex-Code)</li>
<li>Enh #7488: Added <code v-pre>yii\helpers\StringHelper::explode()</code> to perform explode with trimming and skipping of empty elements (SilverFire, nineinchnick, creocoder, samdark)</li>
<li>Enh #7514: Added min/max validation to <code v-pre>yii\validators\DateValidator</code> (nkovacs)</li>
<li>Enh #7515: Added support to use <code v-pre>indexBy()</code> together with <code v-pre>column()</code> in query builder (qiangxue)</li>
<li>Enh #7530: Improved default values for <code v-pre>yii\data\Sort</code> link labels in a <code v-pre>ListView</code> when used with an <code v-pre>ActiveDataProvider</code> (cebe)</li>
<li>Enh #7539: <code v-pre>yii\console\controllers\AssetController</code> provides dependency trace in case bundle circular dependency detected (klimov-paul)</li>
<li>Enh #7562: <code v-pre>yii help</code> now lists all sub-commands by default (callmez)</li>
<li>Enh #7571: HTTP status 500 and “An internal server error occurred.” are now returned in case there was an exception in layout and <code v-pre>YII_DEBUG</code> is false (samdark)</li>
<li>Enh #7636: <code v-pre>yii\web\Session::getHasSessionId()</code> uses a more lenient way to check if session ID is provided in URL (robsch)</li>
<li>Enh #7637: Allow <code v-pre>yii\web\Request::validateCsrfToken()</code> to validate a manually provided token (miraage, qiangxue)</li>
<li>Enh #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options (wbraganca)</li>
<li>Enh #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema (nineinchnick)</li>
<li>Enh #7850: Added <code v-pre>yii\filters\PageCache::cacheCookies</code> and <code v-pre>cacheHeaders</code> to allow selectively caching cookies and HTTP headers (qiangxue)</li>
<li>Enh #7867: Implemented findUniqueIndexes for oci and mssql (nineinchnick)</li>
<li>Enh #7912: Added <code v-pre>aria-label</code> to ActionColumn buttons (LAV45, samdark)</li>
<li>Enh #7915: Added <code v-pre>yii\i18n\Formatter::$numberFormatterSymbols</code> to allow setting custom symbols for the internally used IntlNumberFormatter, e.g. currency signs (cebe)</li>
<li>Enh #7918: <code v-pre>yii\widgets\Pjax</code> got ability to avoid registering link/form handler via setting <code v-pre>false</code> to <code v-pre>$linkSelector</code>/<code v-pre>$formSelector</code> (usualdesigner, Alex-Code, samdark)</li>
<li>Enh #7973: Added <code v-pre>yii\db\Schema::getSchemaNames()</code> method (nineinchnick)</li>
<li>Enh #8027: Added support for using sub queries in simple Query WHERE conditions (cebe)</li>
<li>Enh #8055: <code v-pre>yii\rest\UrlRule::extraPatterns</code> should take precedence over <code v-pre>patterns</code> (Agrumas)</li>
<li>Enh #8064: Added ability to remove containing menu tag by setting <code v-pre>yii\widgets\Menu::$options['tag']</code> to <code v-pre>false</code> (kirsenn, samdark)</li>
<li>Enh #8078: ‘links’ and ‘meta’ envelope names are now configurable at <code v-pre>yii\rest\Serializer</code> (arturf)</li>
<li>Enh #8171: Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper (pgaultier)</li>
<li>Enh #8179: Added parameter to define whether the comparison of <code v-pre>yii\db\BaseActiveRecord::isAttributeChanged()</code> method will be made as identical (thiagotalma)</li>
<li>Enh #8194: Caching of the matched rules added to <code v-pre>yii\web\UrlManager::createUrl()</code> (laszlovl, klimov-paul)</li>
<li>Enh #8268: Allow <code v-pre>yii\db\QueryBuilder</code> to recognize more variations of <code v-pre>limit</code> and <code v-pre>offset</code> values (tino415, qiangxue)</li>
<li>Enh: <code v-pre>yii\i18n\Formatter</code> now shows more information about errors which occured when formatting values (cebe)</li>
<li>Enh: Added <code v-pre>yii\helper\Console::wrapText()</code> method to wrap indented text by console window width and used it in <code v-pre>yii help</code> command (cebe)</li>
<li>Enh: Implement batchInsert for oci (nineinchnick)</li>
<li>Enh: Detecting <code v-pre>yii\db\IntegrityException</code> for oci (nineinchnick)</li>
<li>Enh: <code v-pre>yii\widgets\LinkPager::$firstPageLabel</code> and <code v-pre>yii\widgets\LinkPager::$lastPageLabel</code> now could be set to true in order to use page number as label (samdark)</li>
<li>Chg #7924: Migrations in history are now ordered by time applied allowing to roll back in reverse order no matter how these were applied (samdark)</li>
<li>Chg: Updated dependency to <code v-pre>cebe/markdown</code> to version <code v-pre>1.1.x</code> (cebe)</li>
</ul>
<h2 id="_2-0-3-march-01-2015" tabindex="-1"><a class="header-anchor" href="#_2-0-3-march-01-2015"><span>2.0.3 March 01, 2015</span></a></h2>
<ul>
<li>Bug #5457: <code v-pre>yii\web\Cors</code> should handle <code v-pre>Access-Control-Request-Headers</code> in a case-insensitive manner (qiangxue)</li>
<li>Bug #6553: <code v-pre>yii\validators\DateValidator</code> returned valid for date “2012-12-12foo” with intl extension enabled (gajahlemu)</li>
<li>Bug #6919: Fixed wrong namespaces under advanced application’s <code v-pre>TestCase</code> classes (ivokund)</li>
<li>Bug #6940: <code v-pre>yii\web\Response::sendContentAsFile()</code> may not send correct <code v-pre>content-length</code> header (sadgnome)</li>
<li>Bug #6969: <code v-pre>yii\helpers\ArrayHelper::htmlEncode()</code> and <code v-pre>htmlDecode()</code> should not remove non-string data (qiangxue)</li>
<li>Bug #7037: <code v-pre>yii\console\controllers\AssetController</code> now correctly handles relative image URLs if source and target CSS are under same directory (klimov-paul)</li>
<li>Bug #7055: composite IN condition was not generated correctly for certain DBMS (nineinchnick)</li>
<li>Bug #7074: <code v-pre>yii\data\ArrayDataProvider</code> did not correctly handle the case <code v-pre>Pagination::pageSize = 0</code> (kirsenn, qiangxue)</li>
<li>Bug #7172: Fixed problem with EmailValidator which did not extract domain correctly for DNS check (nbogol)</li>
<li>Bug #7209: <code v-pre>yii\helpers\Html::getInputId()`` now also replaces</code>.<code v-pre>with</code>-` to ensure a valid ID is generated (omnilight)</li>
<li>Bug #7211: Query caching should properly deal with the case when query result is false (qiangxue)</li>
<li>Bug #7218: <code v-pre>yii\captcha\CaptchaAction</code> should send response in JSON format (InteLigent, qiangxue)</li>
<li>Bug #7226: <code v-pre>yii\web\Request::getEtag()</code> should strip off <code v-pre>-gzip</code> which may be added by Apache (mcd-php)</li>
<li>Bug #7227: Query builder should respect column alias setting when <code v-pre>yii\db\Expression</code> is being selected (mdmunir, qiangxue)</li>
<li>Bug #7271: <code v-pre>yii\db\ActiveRecord::populateRecord()</code> should be called in late binding approach (jlorente)</li>
<li>Bug #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong (slavcodev, samdark)</li>
<li>Bug #7358: Fix trimming PHPDoc prefix with TAB indent in <code v-pre>yii\console\Controller::parseDocCommentSummary()</code> (gugglegum)</li>
<li>Bug #7384: Fix precision loss in log timestamps when using <code v-pre>yii\log\DBTarget</code> (samdark)</li>
<li>Bug #7425: <code v-pre>yii\widgets\ActiveField::radio()</code> should not generate the label twice (justinvoelker)</li>
<li>Enh #3168: Improved the performance of <code v-pre>yii\rbac\DbManager::checkAccess()</code> by caching mechanism (qiangxue)</li>
<li>Enh #3723: <code v-pre>yii\filters\PageCache</code> now supports caching response headers as well as non-HTML response content (qiangxue)</li>
<li>Enh #4710: Added <code v-pre>yii\web\AssetManager::appendTimestamp</code> to support cache busting for assets (qiangxue)</li>
<li>Enh #5663: Added support for using <code v-pre>data-params</code> to specify additional form data to be submitted via the <code v-pre>data-method</code> approach (usualdesigner, qiangxue)</li>
<li>Enh #5681: Allow customization of Menu::submenuTemplate in menu items (RobertBoes, otsec)</li>
<li>Enh #6106: Added ability to specify <code v-pre>encode</code> for each item of <code v-pre>yii\widgets\Breadcrumbs</code> (samdark, aleksanderd)</li>
<li>Enh #6361: Added <code v-pre>validateAttribute()</code> to <code v-pre>yii.activeForm.js</code> to support manually triggering data validation of an input (Alex-Code, qiang)</li>
<li>Enh #6493: Added support for the <code v-pre>Access-Control-Expose-Headers</code> header by <code v-pre>yii\filters\Cors</code> (usualdesigner)</li>
<li>Enh #6697: Added <code v-pre>yii\helpers\Url::current()</code> method that allows adding or removing parameters from current URL (samdark, callmez)</li>
<li>Enh #6852: Added <code v-pre>yii\helpers\BaseHtmlPurifier::helpers()</code> in order to be able to configure <code v-pre>HtmlPurifier</code> helper globally via subclassing (Alex-Code)</li>
<li>Enh #6882: Added <code v-pre>yii\web\ErrorHandler::getTypeUrl()</code> in order to allow providing custom types/classes/methods URLs for subclasses (brandonkelly)</li>
<li>Enh #6883: <code v-pre>yii\base\ErrorHandler::logException()</code> is now public (samdark)</li>
<li>Enh #6896: Added <code v-pre>yii\log\FileTarget::$enableRotation</code> to allow disabling log rotation when external tools are configured for this (cebe)</li>
<li>Enh #7008: Removed extra white space in GridView filter cell (uran1980)</li>
<li>Enh #7051: Added support for preventing swapping values between different cookies (pavimus, qiangxue)</li>
<li>Enh #7150: FormatConverter for date formats now supports single quote escaping (brandonkelly)</li>
<li>Enh #7255: Added support to allow widgets that use text input to specify input types (qiangxue)</li>
<li>Enh #7269: <code v-pre>yii\console\controllers\BaseMigrateController</code> now throws exception if directory specified doesn’t exist and action isn’t <code v-pre>create</code> (lynicidn, samdark)</li>
<li>Enh #7301: Added checking for ICU version in requirements warning about plural problems when it is lower than 49 (sidtj)</li>
<li>Enh #7332: Added ability to remove <code v-pre>yii\widgets\Menu</code> container tag by setting <code v-pre>options['tag']</code> to <code v-pre>false</code> (dynasource, samdark)</li>
<li>Enh #7350: Added <code v-pre>yii\helpers\Html::$dataAttributes</code> to support customizing data attributes (Faryshta, qiangxue)</li>
<li>Enh #7357: Refactored <code v-pre>yii\db\ColumnSchema</code> by adding <code v-pre>typecast()</code> method to decouple <code v-pre>phpTypecast()</code> from <code v-pre>dbTypecast()</code> (mcd-php, qiangxue)</li>
<li>Enh #7361: The <code v-pre>trim</code> validator now works on the client side too (qiangxue)</li>
<li>Enh #7440: Added support to automatically set the <code v-pre>maxlength</code> attribute for <code v-pre>Html::activeTextInput()</code> (llfm)</li>
<li>Enh #7446: Added <code v-pre>Schema::TYPE_DOUBLE</code> to represent ANSI SQL Double Precision type (samdark)</li>
<li>Enh #7449: Added <code v-pre>encode</code> option to allow not encoding select options for <code v-pre>Html::dropDownList()</code> and <code v-pre>Html::listBox()</code> (yapi68, qiangxue)</li>
<li>Enh: Added support to <code v-pre>yii\di\Container</code> to instantiate and configure an object that implements <code v-pre>yii\base\Configurable</code> (qiangxue)</li>
<li>Chg #5690: adjusted paths in message config generated by <code v-pre>yii message/config</code> to reflect directory structure better (mikehaertl, samdark)</li>
<li>Chg #6661: Hyperlinks that are enclosed within an exist form will use the same form for submission if they specify both of the <code v-pre>href</code> and <code v-pre>data-method</code> attributes (qiangxue)</li>
<li>Chg #7094: Console confirmation must be answered correctly. To return <code v-pre>true</code>: <code v-pre>y</code> or <code v-pre>yes</code>. To return <code v-pre>false</code>: <code v-pre>n</code> or <code v-pre>no</code>. Any other input the question will be asked again (thiagotalma)</li>
<li>Chg #7130: Changed the signature of <code v-pre>ActiveRecord::findByCondition()</code> to simplify the implementation and usage (Faryshta)</li>
<li>Chg #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward (tom–)</li>
</ul>
<h3 id="apidoc-extension-yii2-apidoc" tabindex="-1"><a class="header-anchor" href="#apidoc-extension-yii2-apidoc"><span>Apidoc Extension (yii2-apidoc)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="authclient-extension-yii2-authclient" tabindex="-1"><a class="header-anchor" href="#authclient-extension-yii2-authclient"><span>Authclient Extension (yii2-authclient)</span></a></h3>
<ul>
<li>Enh #6892: Default value of <code v-pre>yii\authclient\clients\Twitter::$authUrl</code> changed to ‘authenticate’, allowing usage of previous logged user without request an access (kotchuprik)</li>
</ul>
<h3 id="bootstrap-extension-yii2-bootstrap" tabindex="-1"><a class="header-anchor" href="#bootstrap-extension-yii2-bootstrap"><span>Bootstrap Extension (yii2-bootstrap)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="codeception-extension-yii2-codeception" tabindex="-1"><a class="header-anchor" href="#codeception-extension-yii2-codeception"><span>Codeception Extension (yii2-codeception)</span></a></h3>
<ul>
<li>Bug #6978: DI Container is not reset when destroying application in functional tests (ivokund)</li>
</ul>
<h3 id="composer-extension-yii2-composer" tabindex="-1"><a class="header-anchor" href="#composer-extension-yii2-composer"><span>Composer Extension (yii2-composer)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="debug-extension-yii2-debug" tabindex="-1"><a class="header-anchor" href="#debug-extension-yii2-debug"><span>Debug Extension (yii2-debug)</span></a></h3>
<ul>
<li>Bug #6903: Fixed display issue with phpinfo() table (kalayda, cebe)</li>
<li>Bug #7222: Debug toolbar wasn’t displayed properly in rtl pages (mohammadhosain, johonunu, samdark)</li>
<li>Enh #6890: Added ability to filter by query type (pana1990)</li>
</ul>
<h3 id="elasticsearch-extension-yii2-elasticsearch" tabindex="-1"><a class="header-anchor" href="#elasticsearch-extension-yii2-elasticsearch"><span>Elasticsearch Extension (yii2-elasticsearch)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="faker-extension-yii2-faker" tabindex="-1"><a class="header-anchor" href="#faker-extension-yii2-faker"><span>Faker Extension (yii2-faker)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="gii-extension-yii2-gii" tabindex="-1"><a class="header-anchor" href="#gii-extension-yii2-gii"><span>Gii Extension (yii2-gii)</span></a></h3>
<ul>
<li>Chg #7328: Changed the way CRUD generator translates “Create X”. Now it’s a whole string because of translation difficulties (samdark)</li>
</ul>
<h3 id="imagine-extension-yii2-imagine" tabindex="-1"><a class="header-anchor" href="#imagine-extension-yii2-imagine"><span>Imagine Extension (yii2-imagine)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="jui-extension-yii2-jui" tabindex="-1"><a class="header-anchor" href="#jui-extension-yii2-jui"><span>Jui Extension (yii2-jui)</span></a></h3>
<ul>
<li>Enh #7127: <code v-pre>name</code> or <code v-pre>model</code> and <code v-pre>attribute</code> are no longer required properties of <code v-pre>yii\jui\InputWidget</code> (nirvana-msu, cebe)</li>
</ul>
<h3 id="mongodb-extension-yii2-mongodb" tabindex="-1"><a class="header-anchor" href="#mongodb-extension-yii2-mongodb"><span>Mongodb Extension (yii2-mongodb)</span></a></h3>
<ul>
<li>Bug #7010: Fixed <code v-pre>yii\mongodb\Query::select</code> now allows excluding fields (Sammaye, klimov-paul)</li>
</ul>
<h3 id="redis-extension-yii2-redis" tabindex="-1"><a class="header-anchor" href="#redis-extension-yii2-redis"><span>Redis Extension (yii2-redis)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="smarty-extension-yii2-smarty" tabindex="-1"><a class="header-anchor" href="#smarty-extension-yii2-smarty"><span>Smarty Extension (yii2-smarty)</span></a></h3>
<ul>
<li>Bug #6845: Fixed incorrect implementation of <code v-pre>{registerCssFile</code> and <code v-pre>{registerJsFile</code> (TomassunGitHub, samdark)</li>
<li>Bug #6991: Fixed exception when using <code v-pre>{use class='yii\bootstrap\Nav' type='function'}</code> (ivanlemeshev)</li>
</ul>
<h3 id="sphinx-extension-yii2-sphinx" tabindex="-1"><a class="header-anchor" href="#sphinx-extension-yii2-sphinx"><span>Sphinx Extension (yii2-sphinx)</span></a></h3>
<ul>
<li>Bug #7198: <code v-pre>yii\sphinx\Query</code> no longer attempts to call snippets for the empty query result set (Hrumpa)</li>
</ul>
<h3 id="swiftmailer-extension-yii2-swiftmailer" tabindex="-1"><a class="header-anchor" href="#swiftmailer-extension-yii2-swiftmailer"><span>Swiftmailer Extension (yii2-swiftmailer)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h3 id="twig-extension-yii2-twig" tabindex="-1"><a class="header-anchor" href="#twig-extension-yii2-twig"><span>Twig Extension (yii2-twig)</span></a></h3>
<ul>
<li>no changes in this release.</li>
</ul>
<h2 id="_2-0-2-january-11-2015" tabindex="-1"><a class="header-anchor" href="#_2-0-2-january-11-2015"><span>2.0.2 January 11, 2015</span></a></h2>
<ul>
<li>Bug #5577: formatting date and time values for years &gt;=2038 or &lt;=1901 on 32bit systems will not use intl extension but fall back to the PHP implementation (cebe)</li>
<li>Bug #6080: Oracle DB schema did not load column types correctly (wenbin1989)</li>
<li>Bug #6404: advanced project template <code v-pre>Alert</code> widget was generating duplicate IDs in case of multiple flashes (SDKiller)</li>
<li>Bug #6557: Link URLs generated by <code v-pre>yii\widgets\Menu</code> are not encoded (qiangxue)</li>
<li>Bug #6632: <code v-pre>yii\di\Container::get()</code> did not handle config parameter correctly when it is passed as a constructor parameter (qiangxue)</li>
<li>Bug #6648: Added explicit type casting to avoid dblib issues on SQL Server 2014 (o-rey)</li>
<li>Bug #6691: Fixed console help description parsing with UTF8 characters (cebe)</li>
<li>Bug #6717: Fixed issue with UrlManager not matching a route on URL creation when it was prefixed with <code v-pre>/</code> and pattern was empty (cebe)</li>
<li>Bug #6736: Removed <code v-pre>Content-Transfer-Encoding</code> from the list of default download headers (DaSourcerer)</li>
<li>Enh #4502: Added alias support to URL route when calling <code v-pre>yii\helpers\Url::toRoute()</code> and <code v-pre>yii\helpers\Url::to()</code> (qiangxue, lynicidn)</li>
<li>Enh #5194: <code v-pre>yii\console\controllers\AssetController</code> now handles bundle files from external resources properly (klimov-paul)</li>
<li>Enh #6247: Logger and error handler are now using slightly less memory (stepanselyuk, samdark)</li>
<li>Enh #6398: Added support for specifying dependent component in terms of a configuration array for classes such as <code v-pre>DbCache</code> (qiangxue)</li>
<li>Enh #6434: Added <code v-pre>yii\behaviors\SluggableBehavior::immutable</code> to support keeping the generated slug unchanged (trntv)</li>
<li>Enh #6467: <code v-pre>yii\widgets\ActiveForm</code> will scroll to the nearest visible element when the first error input is hidden (newartix)</li>
<li>Enh #6488: Support changing <code v-pre>yii\base\Theme::basePath</code> during runtime (qiangxue)</li>
<li>Enh #6618: Added Model::addErrors() (slavcodev, pana1990)</li>
<li>Enh #6739: Log <code v-pre>Target</code> now works also when there is no <code v-pre>Yii::$app</code> instance available, no message prefix will be added in this case (schmunk42)</li>
<li>Enh #6748: Improved HTML to Text converter in BaseMailer to generate more readable and correct text version of emails (cebe)</li>
<li>Chg #6427: In case of invalid route web application now throws exception with “Page not found” instead of “Invalid Route” (cebe, samdark)</li>
<li>Chg #6641: removed zero padding from ETag strings (DaSourcerer)</li>
<li>Chg #6678: <code v-pre>yii\behaviors\SluggableBehavior</code> will generate a new slug only when the slug attribute is empty or the source attribute is changed (qiangxue)</li>
</ul>
<h3 id="authclient-extension-yii2-authclient-1" tabindex="-1"><a class="header-anchor" href="#authclient-extension-yii2-authclient-1"><span>Authclient Extension (yii2-authclient)</span></a></h3>
<ul>
<li>Bug #6502: Fixed <code v-pre>yii\authclient\OAuth2::refreshAccessToken()</code> does not save fetched token (sebathi)</li>
<li>Bug #6510: Fixed infinite redirect loop using default <code v-pre>yii\authclient\AuthAction::cancelUrl</code> (klimov-paul)</li>
</ul>
<h3 id="bootstrap-extension-yii2-bootstrap-1" tabindex="-1"><a class="header-anchor" href="#bootstrap-extension-yii2-bootstrap-1"><span>Bootstrap Extension (yii2-bootstrap)</span></a></h3>
<ul>
<li>Bug #6672: <code v-pre>yii\bootstrap\Dropdown</code> should register client event handlers (qiangxue)</li>
</ul>
<h3 id="debug-extension-yii2-debug-1" tabindex="-1"><a class="header-anchor" href="#debug-extension-yii2-debug-1"><span>Debug Extension (yii2-debug)</span></a></h3>
<ul>
<li>Bug #4820: Fixed reading incomplete debug index data in case of high request concurrency (martingeorg, samdark)</li>
<li>Chg #6572: Allow panels to stay even if they do not receive any debug data (qiangxue)</li>
</ul>
<h3 id="elasticsearch-extension-yii2-elasticsearch-1" tabindex="-1"><a class="header-anchor" href="#elasticsearch-extension-yii2-elasticsearch-1"><span>Elasticsearch Extension (yii2-elasticsearch)</span></a></h3>
<ul>
<li>Enh: Added <code v-pre>ActiveFixture</code> class for testing fixture support for elasticsearch (cebe, viilveer)</li>
</ul>
<h3 id="gii-extension-yii2-gii-1" tabindex="-1"><a class="header-anchor" href="#gii-extension-yii2-gii-1"><span>Gii Extension (yii2-gii)</span></a></h3>
<ul>
<li>Bug #6463: The Gii controller generator generates incorrect controller namespace (pana1990)</li>
<li>Enh #3665: Better default behavior for ModelSearch generated by the crud generator (qiangxue, mdmunir)</li>
</ul>
<h3 id="jui-extension-yii2-jui-1" tabindex="-1"><a class="header-anchor" href="#jui-extension-yii2-jui-1"><span>Jui Extension (yii2-jui)</span></a></h3>
<ul>
<li>Enh #6570: Datepicker now uses fallback to find language files, e.g. application language is <code v-pre>de-DE</code> and the translation files does not exists, it will use <code v-pre>de</code> instead (cebe)</li>
<li>Enh #6471: Datepicker will now show an empty field when value is an empty string (cebe)</li>
</ul>
<h3 id="mongodb-extension-yii2-mongodb-1" tabindex="-1"><a class="header-anchor" href="#mongodb-extension-yii2-mongodb-1"><span>Mongodb Extension (yii2-mongodb)</span></a></h3>
<ul>
<li>Bug #6376: Fixed lazy load of relations to <code v-pre>yii\mongodb\file\ActiveRecord</code> (klimov-paul)</li>
</ul>
<h3 id="redis-extension-yii2-redis-1" tabindex="-1"><a class="header-anchor" href="#redis-extension-yii2-redis-1"><span>Redis Extension (yii2-redis)</span></a></h3>
<ul>
<li>Bug #6547: Fixed redis connection to deal with large data in combination with <code v-pre>mget()</code> (pyurin)</li>
</ul>
<h3 id="sphinx-extension-yii2-sphinx-1" tabindex="-1"><a class="header-anchor" href="#sphinx-extension-yii2-sphinx-1"><span>Sphinx Extension (yii2-sphinx)</span></a></h3>
<ul>
<li>Bug #6621: Creating sub query at <code v-pre>yii\sphinx\Query::queryScalar()</code> fixed (klimov-paul)</li>
</ul>
<h3 id="twig-extension-yii2-twig-1" tabindex="-1"><a class="header-anchor" href="#twig-extension-yii2-twig-1"><span>Twig Extension (yii2-twig)</span></a></h3>
<ul>
<li>Bug #6464: <code v-pre>path</code> and <code v-pre>url</code> weren’t resolving aliases (samdark, lynicidn)</li>
</ul>
<h2 id="_2-0-1-december-07-2014" tabindex="-1"><a class="header-anchor" href="#_2-0-1-december-07-2014"><span>2.0.1 December 07, 2014</span></a></h2>
<ul>
<li>Bug #4471: <code v-pre>yii\caching\ApcCache::getValues()</code> now returns array in case of APC is installed but not enabled in CLI mode (samdark, cebe)</li>
<li>Bug #4823: <code v-pre>yii message</code> accuracy and error handling were improved (samdark)</li>
<li>Bug #4889: Application was getting into redirect loop when user wasn’t allowed accessing login page. Now shows 403 (samdark)</li>
<li>Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)</li>
<li>Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)</li>
<li>Bug #5448: Date formatter was doing timezone conversion on date only values resulting in different date displayed than provided (cebe)</li>
<li>Bug #5452: Errors occurring after the response is sent are not displayed (qiangxue)</li>
<li>Bug #5521: Fixed <code v-pre>yii\console\controllers\AssetController</code> breaks CSS URLs, which start from ‘/‘ (klimov-paul)</li>
<li>Bug #5570: <code v-pre>yii\bootstrap\Tabs</code> would throw an exception if <code v-pre>content</code> is not set for one of its <code v-pre>items</code> (RomeroMsk)</li>
<li>Bug #5584: <code v-pre>yii\rbac\DbRbacManager</code> should not delete items when deleting a rule on a database not supporting cascade update (mdmunir)</li>
<li>Bug #5601: Simple conditions in Query::where() and ActiveQuery::where() did not allow <code v-pre>yii\db\Expression</code> to be used as the value (cebe, stevekr)</li>
<li>Bug #5619: <code v-pre>yii\log\Target</code> should not attempt to start session when there is none (klimov-paul, qiangxue)</li>
<li>Bug #5657: <code v-pre>yii\caching\ApcCache::mset()</code> and <code v-pre>madd()</code> may cause warning in some APC setup (LAV45)</li>
<li>Bug #5665: The <code v-pre>currentPage</code> meta data in the RESTful result should be 1-based, similar to that in HTTP headers (qiangxue)</li>
<li>Bug #5682: The <code v-pre>asset</code> command would incorrectly combine CSS files when <code v-pre>yii\web\AssetManager::linkAssets</code> is true (dmvslv)</li>
<li>Bug #5702: Parenthesis should be automatically added to <code v-pre>yii\validators\Validator::whenClient</code> to avoid js error (mdmunir, qiangxue)</li>
<li>Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)</li>
<li>Bug #5748: Smarty <code v-pre>{path</code> was generating absolute URLs instead of relative ones (samdark, motzel)</li>
<li>Bug #5768: When setting <code v-pre>data-confirm</code> attribute to a submit button, clicking on the button would not trigger form submission (qiangxue)</li>
<li>Bug #5780: <code v-pre>QueryBuilder::batchInsert()</code> may cause “undefined index” error (qiangxue)</li>
<li>Bug #5833: The <code v-pre>message</code> command fails with a FK constraint error when trying to update messages (qiangxue)</li>
<li>Bug #5863: Selecting all individual <code v-pre>yii\grid\CheckboxColumn</code> checkboxes in grid view wasn’t resulting in “all” checkbox selected (samdark)</li>
<li>Bug #5893: <code v-pre>yii\helpers\ArrayHelper::toArray()</code> now applies <code v-pre>$properties</code> parameter for converting descending objects in recursive calls (otsec)</li>
<li>Bug #5925: <code v-pre>yii\helpers\ArrayHelper::htmlEncode()</code> does not work properly when the value being encoded is a nested array (tebazil)</li>
<li>Bug #5962: DateValidator was throwing a warning on invalid dates using the ICU format on Windows, Yii now works around this <a href="https://bugs.php.net/bug.php?id=68528" target="_blank" rel="noopener noreferrer">PHP Bug</a> (cebe)</li>
<li>Bug #5997: The same message may be exported twice to log targets (klimov-paul)</li>
<li>Bug #6018: When setting the <code v-pre>encode</code> option via <code v-pre>yii\widgets\ActiveRecord::errorOptions</code>, it works the other way around (stanishevsky, qiangxue)</li>
<li>Bug #6049: <code v-pre>yii\db\Connection::getSchema()</code> for Oracle should return false when the table does not exist. Oracle does not support <code v-pre>ON UPDATE</code> clause. (wenbin1989)</li>
<li>Bug #6081: <code v-pre>yii\rbac\DbManager::getChildren()</code> was not quoting column name properly (wenbin1989)</li>
<li>Bug #6107: <code v-pre>yii message</code> was emptying existing translations in .po in case of multiple categories (samdark)</li>
<li>Bug #6112: <code v-pre>yii message</code> was incorrectly writing not yet translated strings in .po in case of multiple categories (samdark)</li>
<li>Bug #6172: <code v-pre>yii\rbac\DbManager</code> should properly quote table and column names (qiangxue)</li>
<li>Bug #6164: Added missing support for <code v-pre>yii\db\Expression</code> to <code v-pre>yii\db\QueryBuilder</code> <code v-pre>BETWEEN</code> and <code v-pre>LIKE</code> conditions (cebe)</li>
<li>Bug #6236: No JS scripts should be registered when <code v-pre>yii\widgets\ActiveForm::enableClientScript</code> is false (qiangxue)</li>
<li>Bug #6150: <code v-pre>yii\bootstrap\Tabs</code> dropdown IDs were generated incorrectly (samdark)</li>
<li>Bug #6266: Clicking on reset button does not hide error summary when using ` (InteLigent, qiangxue)</li>
<li>Bug #6271: Query caching returns the same data when running the same SQL with <code v-pre>yii\widgets\ActiveForm</code> different fetch modes (grachov)</li>
<li>Bug #6279: <code v-pre>yii\db\Schema::getLastInsertID()</code> was passing wrong default schema name to PDO (samdark)</li>
<li>Bug #6305: <code v-pre>yii\i18n\Formatter::asParagraphs()</code> was not unicode-aware (samdark)</li>
<li>Bug #6311: Optimistic lock for ActiveRecord does not work as expected (qiangxue)</li>
<li>Bug #6367: Added <code v-pre>yii\gii\generators\crud\Generator</code> to support customizing view path for the generated CRUD controller (qiangxue)</li>
<li>Bug #6381: Client-side file validation should be disabled if the browser does not support it (Skysplit)</li>
<li>Bug: Gii console command help information does not contain global options (qiangxue)</li>
<li>Bug: <code v-pre>yii\web\UrlRule</code> was unable to create URLs for rules containing unicode characters (samdark)</li>
<li>Bug: <code v-pre>yii\web\AssetManager</code> should not publish disabled asset bundles (qiangxue)</li>
<li>Enh #608: Added <code v-pre>yii\web\AssetConverter::$forceConvert</code> (klimov-paul)</li>
<li>Enh #4146: Added <code v-pre>yii\bootstrap\ButtonDropdown::$containerOptions</code> (samdark)</li>
<li>Enh #4181: Added <code v-pre>yii\bootstrap\Modal::$headerOptions</code> and <code v-pre>yii\bootstrap\Modal::$footerOptions</code> (tuxoff, samdark)</li>
<li>Enh #4263: Added migration and SQL schema files for <code v-pre>yii\log\DbTarget</code> (samdark)</li>
<li>Enh #4395: Added <code v-pre>$checkAjax</code> parameter to <code v-pre>yii\web\Response::redirect()</code> to support default redirection behavior for AJAX/PJAX requests (qiangxue)</li>
<li>Enh #4450: Added <code v-pre>yii\bootstrap\Nav::renderDropdown()</code> (qiangxue)</li>
<li>Enh #4457: Added support for using noscript for css files registered through asset bundles and Html helper (samdark)</li>
<li>Enh #4492: Support PostgreSQL-specific syntax for <code v-pre>yii\db\QueryBuilder::alterColumn()</code> (qiangxue)</li>
<li>Enh #4643: Extra options specified in <code v-pre>yii\widgets\Breadcrumbs::links</code> will be treated as HTML attributes for the generated hyperlinks (qiangxue)</li>
<li>Enh #4739: Better display of exceptions when the response format is set as “raw” format (qiangxue)</li>
<li>Enh #4791: Added console output support and more colors for console commands (6pblcb, samdark, klimov-paul, Ragazzo)</li>
<li>Enh #5005: Added support to suppress loading the same CSS files in AJAX responses (tof06, qiangxue)</li>
<li>Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)</li>
<li>Enh #5367: Added <code v-pre>yii\grid\DataColumn::encodeLabel</code> (SDKiller)</li>
<li>Enh #5480: Added defensive code to <code v-pre>yii\web\User::getIdentity()</code> to avoid potential infinite recursion (qiangxue)</li>
<li>Enh #5494: Added support for specifying a menu header as a configuration array in <code v-pre>yii\bootstrap\Dropdown</code> (hiltonjanfield, qiangxue)</li>
<li>Enh #5503: Added support for <code v-pre>DateTimeImmutable</code> to <code v-pre>yii\i18n\Formatter</code> (olegtsvetkov, cebe)</li>
<li>Enh #5587: <code v-pre>json_encode</code> is now used with <code v-pre>JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE</code> where it makes sense, also<br>
it is now default for <code v-pre>yii\helpers\Json::encode()</code> (samdark)</li>
<li>Enh #5600: Allow configuring debug panels in <code v-pre>yii\debug\Module::panels</code> as panel class name strings (qiangxue)</li>
<li>Enh #5613: Added <code v-pre>--overwrite</code> option to Gii console command to support overwriting all files (motin, qiangxue)</li>
<li>Enh #5627: Added <code v-pre>yii cache/flush-schema</code> console command to flush DB schema cache of a given database connection (6pblcb, samdark)</li>
<li>Enh #5646: Call <code v-pre>yii\base\ErrorHandler::unregister()</code> instead of <code v-pre>restore_*_handlers</code> directly (aivus)</li>
<li>Enh #5683: Added <code v-pre>yii\i18n\Formatter::defaultTimeZone</code> for specifying the default time zone to use for datetime values stored in the database (cebe)</li>
<li>Enh #5688: Added optional <code v-pre>$formName</code> to <code v-pre>Model::loadMultiple()</code> to support customizing form name directly (qiangxue)</li>
<li>Enh #5735: Added <code v-pre>yii\bootstrap\Tabs::renderTabContent</code> to support manually rendering tab contents (RomeroMsk)</li>
<li>Enh #5770: Added more PHP error names for <code v-pre>ErrorException</code> (mongosoft)</li>
<li>Enh #5799: <code v-pre>yii\bootstrap\ButtonGroup::buttons</code> can take all options that are supported by <code v-pre>yii\bootstrap\Button</code> (aleksanderd)</li>
<li>Enh #5806: Allow <code v-pre>Html::encode()</code> to be used when the application is not started (qiangxue)</li>
<li>Enh #5954: <code v-pre>yii message</code> command now shows user friendly error if it’s not able to parse source file (samdark)</li>
<li>Enh #5983: Added <code v-pre>yii\helpers\Inflector::sentence()</code> (pana1990, qiangxue)</li>
<li>Enh #6113: Improved debugger configuration and request UI (schmunk42)</li>
<li>Enh #6207: Added support for truncating HTML strings using <code v-pre>StringHelper::truncate()</code> and <code v-pre>StringHelper::truncateWords()</code> (Alex-Code)</li>
<li>Enh #6318: Made widgets more error-tolerant and user-friendly when certain option values are null (qiangxue)</li>
<li>Enh: <code v-pre>Console::confirm()</code> now uses <code v-pre>Console::stdout()</code> instead of <code v-pre>echo</code> to be consistent with all other functions (cebe)</li>
<li>Enh: <code v-pre>yii\rbac\DbManager</code> migration now uses database component specified in component settings instead of always using default <code v-pre>db</code> (samdark)</li>
<li>Enh: Added <code v-pre>yii\base\Controller::renderContent()</code> (qiangxue)</li>
<li>Enh: <code v-pre>yii fixture</code> command now offers help if no arguments are provided instead of crashing (samdark)</li>
<li>Chg #3630: <code v-pre>yii\db\Command::queryInternal()</code> is now protected (samdark)</li>
<li>Chg #4277: <code v-pre>yii\grid\GridView</code> is no longer throwing an exception when results are empty and <code v-pre>columns</code> aren’t defined (samdark)</li>
<li>Chg #5508: Dropped the support for the <code v-pre>--append</code> option for the <code v-pre>fixture</code> command (qiangxue)</li>
<li>Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)</li>
</ul>
<h3 id="apidoc-extension-yii2-apidoc-1" tabindex="-1"><a class="header-anchor" href="#apidoc-extension-yii2-apidoc-1"><span>Apidoc Extension (yii2-apidoc)</span></a></h3>
<ul>
<li>Bug #5623: Fixed crash when a class contains a setter that has no arguments e.g. <code v-pre>setXyz()</code> (cebe)</li>
<li>Bug #5899: Incorrect class listed as <code v-pre>definedBy</code> reference for properties (cebe)</li>
<li>Bug: Guide and API renderer now work with relative paths/URLs (cebe)</li>
<li>Enh: Guide generator now skips <code v-pre>images</code> directory if it does not exist instead of throwing an error (cebe)</li>
<li>Enh: Made <code v-pre>--guidePrefix</code> option available as a command line option (cebe)</li>
</ul>
<h3 id="authclient-extension-yii2-authclient-2" tabindex="-1"><a class="header-anchor" href="#authclient-extension-yii2-authclient-2"><span>Authclient Extension (yii2-authclient)</span></a></h3>
<ul>
<li>Bug #6000: Fixed CCS for <code v-pre>yii\authclient\widgets\AuthChoice</code> does not loaded if <code v-pre>popupMode</code> disabled (klimov-paul)</li>
</ul>
<h3 id="bootstrap-extension-yii2-bootstrap-2" tabindex="-1"><a class="header-anchor" href="#bootstrap-extension-yii2-bootstrap-2"><span>Bootstrap Extension (yii2-bootstrap)</span></a></h3>
<ul>
<li>Bug #5570: <code v-pre>yii\bootstrap\Tabs</code> would throw an exception if <code v-pre>content</code> is not set for one of its <code v-pre>items</code> (RomeroMsk)</li>
<li>Bug #6150: <code v-pre>yii\bootstrap\Tabs</code> dropdown IDs were generated incorrectly (samdark)</li>
<li>Enh #4146: Added <code v-pre>yii\bootstrap\ButtonDropdown::$containerOptions</code> (samdark)</li>
<li>Enh #4181: Added <code v-pre>yii\bootstrap\Modal::$headerOptions</code> and <code v-pre>yii\bootstrap\Modal::$footerOptions</code> (tuxoff, samdark)</li>
<li>Enh #4450: Added <code v-pre>yii\bootstrap\Nav::renderDropdown()</code> (qiangxue)</li>
<li>Enh #5494: Added support for specifying a menu header as a configuration array in <code v-pre>yii\bootstrap\Dropdown</code> (hiltonjanfield, qiangxue)</li>
<li>Enh #5735: Added <code v-pre>yii\bootstrap\Tabs::renderTabContent</code> to support manually rendering tab contents (RomeroMsk)</li>
<li>Enh #5799: <code v-pre>yii\bootstrap\ButtonGroup::buttons</code> can take all options that are supported by <code v-pre>yii\bootstrap\Button</code> (aleksanderd)</li>
<li>Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)</li>
</ul>
<h3 id="debug-extension-yii2-debug-2" tabindex="-1"><a class="header-anchor" href="#debug-extension-yii2-debug-2"><span>Debug Extension (yii2-debug)</span></a></h3>
<ul>
<li>Bug #5402: Debugger was not loading when there were closures in asset classes (samdark)</li>
<li>Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)</li>
<li>Enh #5600: Allow configuring debug panels in <code v-pre>yii\debug\Module::panels</code> as panel class name strings (qiangxue)</li>
<li>Enh #6113: Improved configuration and request UI (schmunk42)</li>
<li>Enh: Made <code v-pre>DefaultController::getManifest()</code> more robust against corrupt files (cebe)</li>
</ul>
<h3 id="elasticsearch-extension-yii2-elasticsearch-2" tabindex="-1"><a class="header-anchor" href="#elasticsearch-extension-yii2-elasticsearch-2"><span>Elasticsearch Extension (yii2-elasticsearch)</span></a></h3>
<ul>
<li>Bug #5662: Elasticsearch AR updateCounters() now uses explicitly <code v-pre>groovy</code> script for updating making it compatible with ES &gt;1.3.0 (cebe)</li>
<li>Bug #6065: <code v-pre>ActiveRecord::unlink()</code> was failing in some situations when working with relations via array valued attributes (cebe)</li>
<li>Enh #5758: Allow passing custom options to <code v-pre>ActiveRecord::update()</code> and <code v-pre>::delete()</code> including support for routing needed for updating records with parent relation (cebe)</li>
<li>Enh: Add support for optimistic locking (cebe)</li>
</ul>
<h3 id="gii-extension-yii2-gii-2" tabindex="-1"><a class="header-anchor" href="#gii-extension-yii2-gii-2"><span>Gii Extension (yii2-gii)</span></a></h3>
<ul>
<li>Bug #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller (qiangxue)</li>
<li>Bug #5745: Gii and debug modules may cause 404 exception when the route contains dashes (qiangxue)</li>
<li>Bug #6367: Added <code v-pre>yii\gii\generators\crud\Generator</code> to support customizing view path for the generated CRUD controller (qiangxue)</li>
<li>Bug: Gii console command help information does not contain global options (qiangxue)</li>
<li>Enh #5613: Added <code v-pre>--overwrite</code> option to Gii console command to support overwriting all files (motin, qiangxue)</li>
</ul>
<h3 id="mongodb-extension-yii2-mongodb-2" tabindex="-1"><a class="header-anchor" href="#mongodb-extension-yii2-mongodb-2"><span>Mongodb Extension (yii2-mongodb)</span></a></h3>
<ul>
<li>Bug #6026: Fixed <code v-pre>yii\mongodb\ActiveRecord</code> saves <code v-pre>null</code> as <code v-pre>_id</code>, if attributes are empty (klimov-paul)</li>
<li>Enh #3855: Added debug toolbar panel for MongoDB (klimov-paul)</li>
<li>Enh #5592: Added support for ‘findAndModify’ operation at <code v-pre>yii\mongodb\Query</code> and <code v-pre>yii\mongodb\ActiveQuery</code> (klimov-paul)</li>
</ul>
<h3 id="redis-extension-yii2-redis-2" tabindex="-1"><a class="header-anchor" href="#redis-extension-yii2-redis-2"><span>Redis Extension (yii2-redis)</span></a></h3>
<ul>
<li>Bug #4745: value of simple string returns was ignored by redis client and <code v-pre>true</code> is returned instead, now only <code v-pre>OK</code> will result in a <code v-pre>true</code> while all other values are returned as is (cebe)</li>
<li>Enh #3714: Added support for connecting to redis server using a unix socket (savvot, robregonm)</li>
</ul>
<h3 id="smarty-extension-yii2-smarty-1" tabindex="-1"><a class="header-anchor" href="#smarty-extension-yii2-smarty-1"><span>Smarty Extension (yii2-smarty)</span></a></h3>
<ul>
<li>Bug #5748: <code v-pre>{path</code> was generating absolute URLs instead of relative ones (samdark, motzel)</li>
</ul>
<h3 id="sphinx-extension-yii2-sphinx-2" tabindex="-1"><a class="header-anchor" href="#sphinx-extension-yii2-sphinx-2"><span>Sphinx Extension (yii2-sphinx)</span></a></h3>
<ul>
<li>Bug #5601: Simple conditions in <code v-pre>yii\sphinx\Query::where()`` and</code>yii\sphinx\ActiveQuery::where()<code v-pre>did not allow</code>yii\db\Expression` to be used as the value (cebe, stevekr)</li>
<li>Bug #5634: Fixed <code v-pre>yii\sphinx\QueryBuilder</code> does not support comparison operators (&gt;,&lt;,&gt;= etc) in where specification (klimov-paul)</li>
<li>Bug #6164: Added missing support for <code v-pre>yii\db\Exression</code> to QueryBuilder <code v-pre>LIKE</code> conditions (cebe)</li>
<li>Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue)</li>
</ul>
<h2 id="_2-0-0-october-12-2014" tabindex="-1"><a class="header-anchor" href="#_2-0-0-october-12-2014"><span>2.0.0 October 12, 2014</span></a></h2>
<ul>
<li>Bug #4881: Fixed <code v-pre>yii\console\controllers\AssetController</code> breaks CSS URLs on Windows (klimov-paul)</li>
<li>Bug #5171: Fixed the bug that ActiveForm + Pjax submit event is only triggered once (qiangxue)</li>
<li>Bug #5242: Fixed <code v-pre>yii\console\controllers\AssetController</code> breaks CSS URLs in case target file localed at <code v-pre>yii\web\AssetManager::basePath</code> root (klimov-paul)</li>
<li>Bug #5252: Null values are not properly handled by <code v-pre>RangeValidator</code> (githubjeka, qiangxue)</li>
<li>Bug #5260: <code v-pre>yii\i18n\Formatter::decimalSeparator</code> and <code v-pre>yii\i18n\Formatter::thousandSeparator</code> where not configurable when intl is not installed (execut, cebe)</li>
<li>Bug #5314: Fixed typo in the implementation of <code v-pre>yii\web\Session::getHasSessionId()</code> (qiangxue)</li>
<li>Bug #5323: Nested dropdown does not work for <code v-pre>yii\bootstrap\DropDown</code> (aryraditya)</li>
<li>Bug #5336: <code v-pre>yii\bootstrap\DropDown</code> should register bootstrap plugin asset (zelenin)</li>
<li>Bug #5379: <code v-pre>yii\base\Module::afterAction()</code> was called even when <code v-pre>beforeAction()</code> returned false (cebe)</li>
<li>Bug #5408: Gii console command incorrectly reports errors when there is actually no error (qiangxue)</li>
<li>Bug #5423: <code v-pre>yii\behaviors\Cors</code> causes “undefined index” error when its <code v-pre>cors</code> is configured (qiangxue)</li>
<li>Bug #5424: <code v-pre>yii\helpers\Html::addCssStyle()</code> wasn’t correctly setting style passed in array (kartik-v, samdark)</li>
<li>Bug #5435: Added extra checks to <code v-pre>yii\rbac\DbManager</code> to prevent database exceptions when <code v-pre>$userId</code> is empty (samdark)</li>
<li>Bug #5484: Fixed potential string suffix detection failure on 5.5.11 (qiangxue)</li>
<li>Bug: Date and time formatting now assumes UTC as the timezone for input dates unless a timezone is explicitly given (cebe)</li>
<li>Enh #4040: Added <code v-pre>$viewFile</code> and <code v-pre>$params</code> to the <code v-pre>EVENT_BEFORE_RENDER</code> and <code v-pre>EVENT_AFTER_RENDER</code> events for <code v-pre>View</code> (qiangxue)</li>
<li>Enh #4275: Added <code v-pre>removeChildren()</code> to <code v-pre>yii\rbac\ManagerInterface</code> and implementations (samdark)</li>
<li>Enh: Added <code v-pre>yii\base\Application::loadedModules</code> (qiangxue)</li>
<li>Enh #5316: Added <code v-pre>startsWith()</code> and <code v-pre>endsWith()</code> to <code v-pre>yii\helpers\StringHelper</code>. Methods are binary-safe, multibyte-safe and optionally case-insensitive (armab)</li>
<li>Enh #5467: Added ability to pass HTML tag options to <code v-pre>asEmail()</code>, <code v-pre>asImage()</code> and <code v-pre>asUrl()</code> methods of <code v-pre>yii\i18n\Formatter</code> (alxkolm, samdark)</li>
<li>Chg #2037: Dropped the support for using <code v-pre>yii\base\Module</code> as concrete module classes (qiangxue)</li>
<li>Chg: Updated cebe/markdown to 1.0.0 which includes breaking changes in its internal API (cebe)</li>
<li>Chg: If you are using CUBRID DBMS, make sure to use at least version 9.3.0 because quoting is broken in prior versions and Yii has no reliable way to work around this issue (cebe)</li>
</ul>
<h2 id="_2-0-0-rc-september-27-2014" tabindex="-1"><a class="header-anchor" href="#_2-0-0-rc-september-27-2014"><span>2.0.0-rc September 27, 2014</span></a></h2>
<ul>
<li>Bug #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration (qiangxue)</li>
<li>Bug #2314: Gii model generator does not generate correct relation type in some special case (qiangxue)</li>
<li>Bug #2563: Theming is not working if the path map of the theme contains “..” or “.” in the paths (qiangxue)</li>
<li>Bug #2801: Fixed the issue that GridView gets footer content before data cells content (ElisDN)</li>
<li>Bug #2821: Console help command incorrectly lists non-console controllers as available commands (qiangxue)</li>
<li>Bug #2853: ActiveRecord did not handle resource-typed columns well (chris68, qiangxue)</li>
<li>Bug #3042: <code v-pre>yii\widgets\Pjax</code> should end application right after it finishes responding to a pjax request (qiangxue)</li>
<li>Bug #3066: <code v-pre>yii\db\mssql\Schema::getTableSchema()</code> should return null when the table does not exist (qiangxue)</li>
<li>Bug #3091: Fixed inconsistent treatment of <code v-pre>Widget::run()</code> when a widget is used as a container and as a self-contained object (qiangxue)</li>
<li>Bug #3118: Ensure client validation has the same behavior as server side validation for number validator (cebe)</li>
<li>Bug #3121: <code v-pre>yii\base\Application::bootstrap</code> may fail to load some components if they are specified as class names (qiangxue)</li>
<li>Bug #3125: <code v-pre>yii\console\controllers\AssetController</code> now respects data URL resources (klimov-paul)</li>
<li>Bug #3128: Fixed the bug that <code v-pre>defaultRoles</code> set in RBAC manager was not working as specified (qiangxue)</li>
<li>Bug #3153: Fixed the bug that using “between” operator to build a SQL query will cause a PHP notice (gonimar)</li>
<li>Bug #3184: Fixed the bug that client validation for string length comparison did not set error message correctly (Sergeygithub)</li>
<li>Bug #3194: Date formatter works only for timestamps in the year range 1970 to 2038 (kartik-v)</li>
<li>Bug #3197: Using <code v-pre>yii\db\ActiveQuery::indexBy()</code> may cause relational AR queries to generate incorrect relational results (qiangxue)</li>
<li>Bug #3204: <code v-pre>yii\di\Container</code> did not handle the <code v-pre>$config</code> parameter well in case when it does not have a default value (qiangxue)</li>
<li>Bug #3216: Fixed the bug that <code v-pre>yii.activeForm.destroy()</code> did not remove <code v-pre>submit</code> event handlers (qiangxue)</li>
<li>Bug #3233: Ensure consistent behavior in `yii\db\ActiveRecord::afterSave()`` (cebe, qiangxue)</li>
<li>Bug #3236: Return value for `DateTime-&gt;format(‘U’)`` casted to double to allow correct date formatting (pgaultier)</li>
<li>Bug #3268: Fixed the bug that the schema name in a table name was not respected by <code v-pre>yii\db\mysql\Schema</code> (terazoid, qiangxue)</li>
<li>Bug #3311: Fixed the bug that <code v-pre>yii\di\Container::has()</code> did not return correct value (mgrechanik, qiangxue)</li>
<li>Bug #3327: Fixed “Unable to find debug data” when logging objects with circular references (jarekkozak, samdark)</li>
<li>Bug #3368: Fix for comparing numeric attributes in JavaScript (technixp)</li>
<li>Bug #3393: Fix <code v-pre>yii\helpers\FileHelper::copyDirectory()</code> pattern not working (klimov-paul)</li>
<li>Bug #3431: Allow using extended <code v-pre>yii\base\ErrorHandler</code> class from the app namespace (cebe)</li>
<li>Bug #3436: Fixed the issue that <code v-pre>yii\di\ServiceLocator</code> still returns the old component after calling <code v-pre>set()</code> with a new definition (qiangxue)</li>
<li>Bug #3458: Fixed the bug that the image rendered by <code v-pre>CaptchaAction</code> was using a wrong content type (MDMunir, qiangxue)</li>
<li>Bug #3473: Allow postgreSQL to specify timestamp precision via abstract types in <code v-pre>yii\db\QueryBuilder</code> (cebe)</li>
<li>Bug #3478: Fixed <code v-pre>yii\console\Controller::select()</code> accept empty input as ‘0’ value (lynicidn)</li>
<li>Bug #3522: Fixed <code v-pre>yii\helpers\FileHelper::normalizePath()</code> to allow a (.) for the current path. (skotos)</li>
<li>Bug #3548: Fixed the bug that X-Rate-Limit-Remaining header is always zero when using RateLimiter (qiangxue)</li>
<li>Bug #3559: Use native support for batchInsert in SQLite versions &gt;= 3.7.11 and avoid limitations of the fallback (cebe)</li>
<li>Bug #3564: Fixed the bug that primary key columns should not take default values from schema (qiangxue)</li>
<li>Bug #3567: Fixed the bug that smallint was treated as string for PostgreSQL (qiangxue)</li>
<li>Bug #3568: When the primary query sets <code v-pre>asArray</code>, it is not respected by the <code v-pre>via</code> relational query (qiangxue)</li>
<li>Bug #3578: Fixed postgreSQL column type detection, added missing types (MDMunir, cebe)</li>
<li>Bug #3583: Added typecast to auto value of primary key on insert of SQL Active Record (cebe)</li>
<li>Bug #3591: Fixed incomplete obsolete filling in i18n <code v-pre>MessageController::saveMessagesToDb()</code> (advsm)</li>
<li>Bug #3601: Fixed the bug that the refresh URL was not generated correctly by <code v-pre>Captcha</code> (qiangxue, klevron)</li>
<li>Bug #3638: <code v-pre>yii\filters\HttpCache</code> does not work as expected when session is started before the filter (qiangxue)</li>
<li>Bug #3681: Fixed problem with AR::findOne() when a default scope joins another table so that PK name becomes ambigous (cebe)</li>
<li>Bug #3715: Fixed the bug that using a custom pager/sorter with <code v-pre>GridView</code> may generate two different pagers/sorters if the layout configures two pagers/sorters (qiangxue)</li>
<li>Bug #3716: <code v-pre>yii\base\DynamicModel::validateData()</code> does not call <code v-pre>validate()</code> if the <code v-pre>$rules</code> parameter is empty (qiangxue)</li>
<li>Bug #3725: Fixed the bug that the filtering condition used in relation definition was ignored when calling <code v-pre>ActiveRecord::unlinkAll()</code>. (qiangxue, cebe)</li>
<li>Bug #3738: <code v-pre>yii\widgets\ActiveField</code> custom error selector not functioning (qiangxue)</li>
<li>Bug #3751: Fixed postgreSQL schema data for enum values, do not add values if there are none (makroxyz)</li>
<li>Bug #3752: <code v-pre>QueryBuilder::batchInsert()</code> does not typecast input values (qiangxue)</li>
<li>Bug #3756: Fix number formatting error for <code v-pre>yii\base\Formatter</code> by converting strings to float (kartik-v)</li>
<li>Bug #3772: Behaviors adding validation rules do not work as expected (qiangxue)</li>
<li>Bug #3817: <code v-pre>yii\rbac\PhpManager::getChildren()</code> returns null instead of expected empty array (qiangxue)</li>
<li>Bug #3843: Fixed Menu bug when using <code v-pre>template</code> with <code v-pre>encodeLabel</code> =&gt; false (creocoder, umneeq)</li>
<li>Bug #3863: Fixed incorrect js selector for <code v-pre>yii\widgets\ActiveForm::errorSummaryCssClass</code> when it contains multiple classes (creocoder, umneeq)</li>
<li>Bug #3893: Headers did not overwrite default setting by webserver (cebe)</li>
<li>Bug #3909: <code v-pre>yii\helpers\Html::to()</code> should not prefix base URL to URLs that already contain scheme (qiangxue)</li>
<li>Bug #3920: Fixed issue with loading default values of PostgreSQL boolean columns (cebe)</li>
<li>Bug #3934: <code v-pre>yii.handleAction()</code> in <code v-pre>yii.js</code> does not correctly detect if a hyperlink contains useful URL or not (joni-jones, qiangxue)</li>
<li>Bug #3968: Messages logged in shutdown functions are not handled (qiangxue)</li>
<li>Bug #3989: Fixed <code v-pre>yii\log\FileTarget::rotateByCopy</code> to avoid any rename (cebe)</li>
<li>Bug #3996: Traversing <code v-pre>Yii::$app-&gt;session</code> may cause a PHP error (qiangxue)</li>
<li>Bug #4020: OCI column detection did not work so gii and other things failed (Sanya1991)</li>
<li>Bug #4105: <code v-pre>yii\helpers\Html::dropDownlist()</code> options encodeSpaces was not applied to subgroups (MDMunir)</li>
<li>Bug #4123: Trace level in logger had no effect in Targets, traces where not logged (cebe)</li>
<li>Bug #4127: <code v-pre>yii\captcha\CaptchaValidator</code> clientside error message wasn’t formed properly (samdark)</li>
<li>Bug #4162: Fixed bug where schema name was not used in <code v-pre>SHOW CREATE TABLE</code> query in <code v-pre>yii\db\mysql\Schema</code> (stevekr)</li>
<li>Bug #4241: <code v-pre>yii\widgets\Pjax</code> was incorrectly setting container id (mitalcoi)</li>
<li>Bug #4254: <code v-pre>SqlDataProvider</code> does not work with Oracle and SQL Server (qiangxue, miramir)</li>
<li>Bug #4276: Added check for UPLOAD_ERR_NO_FILE in <code v-pre>yii\web\UploadedFile</code> and return null if no file was uploaded (OmgDef)</li>
<li>Bug #4342: mssql (dblib) driver does not support getting attributes (tof06)</li>
<li>Bug #4371: Active form client validation wasn’t working in case of two models having same named fields (abrahamy)</li>
<li>Bug #4409: Upper case letters in subdirectory prefixes of controller IDs were not properly handled (qiangxue)</li>
<li>Bug #4412: Formatter used SI Prefixes for base 1024, now uses binary prefixes (kmindi)</li>
<li>Bug #4427: Formatter could do one division too much (kmindi)</li>
<li>Bug #4453: <code v-pre>yii message/extract</code> wasn’t properly writing to po files in case of multiple categories (samdark)</li>
<li>Bug #4469: Make <code v-pre>yii\base\Security::compareString()</code> timing depend only on length of <code v-pre>$actual</code> input and add unit test. (tom–)</li>
<li>Bug #4470: Avoid endless loop when exporting logs with low values of flushInterval and eportInterval (cebe)</li>
<li>Bug #4497: Fixed `yii\helpers\StringHelper::byteSubstr()`` returning empty string on null $length param (mbman)</li>
<li>Bug #4514: Fixed Request class crashing when empty CSRF token value is sent in cookie (cebe)</li>
<li>Bug #4519: <code v-pre>yii\base\Model::isAttributeRequired()</code> should check if the <code v-pre>when</code> option of the validator is set (thiagotalma)</li>
<li>Bug #4592: Fixed <code v-pre>yii help</code> command was listing incorrect action names for methods like <code v-pre>actionSayNO</code> (samdark)</li>
<li>Bug #4654: Fixed issue with PostgreSQL and inserting boolean values with batch insert (cebe)</li>
<li>Bug #4672: Fixed issue with PostgreSQL handling of boolean values in queries, dropped support for using boolean value for integer columns (cebe)</li>
<li>Bug #4727: Fixed wrong Stylus definition in <code v-pre>yii\web\AssetConverter</code> (samdark)</li>
<li>Bug #4755: <code v-pre>yii\test\BaseActiveFixture::unload()</code> does not clean up the internal cached data (qiangxue)</li>
<li>Bug #4813: Fixed MSSQL schema that was getting incorrect info about constraints (samdark, SerjRamone, o-rey)</li>
<li>Bug #4880: Return value of yii\web\Request::getPrefferedLanguage() was a normalized value instead of a valid language value from the input array (cebe)</li>
<li>Bug #4905: ActiveForm::$validationDelay doesn’t delay after keyrelease when $validateOnType=true (qiangxue)</li>
<li>Bug #4920: <code v-pre>yii\filters\auth\CompositeAuth</code> should not trigger error as long as one of the methods succeeds (qiangxue)</li>
<li>Bug #4926: Fixed <code v-pre>yii\console\controllers\MessageController</code> handles category name containing dot incorrectly (klimov-paul)</li>
<li>Bug #4938: When <code v-pre>yii\db\ActiveQuery</code> is used to build sub-queries, its WHERE clause is not correctly generated (qiangxue)</li>
<li>Bug #4954: MSSQL column comments are not retrieved correctly (SerjRamone)</li>
<li>Bug #4970: <code v-pre>joinWith()</code> called by a relation was ignored by <code v-pre>yii\db\ActiveQuery</code> (stepanselyuk)</li>
<li>Bug #5001: <code v-pre>yii\rest\CreateAction</code>, <code v-pre>yii\rest\UpdateAction</code> and <code v-pre>yii\rest\DeleteAction</code> should throw 500 error if the model operation returns false without validation errors (qiangxue)</li>
<li>Bug #5039: <code v-pre>UniqueValidator</code> and <code v-pre>ExistValidator</code> did not respect query conditions added by default scope (qiangxue)</li>
<li>Bug #5049: <code v-pre>yii\widgets\ActiveForm::validationDelay</code> should be applied to user types only (qiangxue)</li>
<li>Bug #5055: Fixed <code v-pre>yii\console\controllers\CacheController</code> does not check if cache component instance of ‘yii\caching\Cache’ (klimov-paul)</li>
<li>Bug #5126: Fixed text body and charset not being set for multipart mail (nkovacs)</li>
<li>Bug: Fixed inconsistent return of <code v-pre>yii\console\Application::runAction()</code> (samdark)</li>
<li>Bug: URL encoding for the route parameter added to <code v-pre>yii\web\UrlManager</code> (klimov-paul)</li>
<li>Bug: Fixed the bug that requesting protected or private action methods would cause 500 error instead of 404 (qiangxue)</li>
<li>Bug: Fixed Object of class Imagick could not be converted to string in <code v-pre>yii\captcha\CaptchaAction</code> (eXprojects, cebe)</li>
<li>Bug: Fixed wrong behavior of <code v-pre>yii\helpers\StringHelper::byteSubstr()</code> in some edge cases (cebe)</li>
<li>Enh #87: Helper <code v-pre>yii\helpers\Security</code> converted into application component, cryptographic strength improved (klimov-paul)</li>
<li>Enh #422: Added Support for BIT(M) data type default values in Schema (cebe)</li>
<li>Enh #1160: Added $strict parameter to <code v-pre>yii\helpers\Inflector::camel2id()</code> to handle consecutive uppercase chars (schmunk)</li>
<li>Enh #1249: Added support for Active Record relation via array attributes (klimov-paul, cebe)</li>
<li>Enh #1388: Added mapping from physical types to abstract types for OCI DB driver (qiangxue)</li>
<li>Enh #1452: Added <code v-pre>yii\base\Module::getInstance()</code> to allow accessing the module instance from anywhere within the module (qiangxue)</li>
<li>Enh #2264: <code v-pre>yii\web\CookieCollection::has()</code> will return false for expired or removed cookies (qiangxue)</li>
<li>Enh #2315: Any operator now could be used with <code v-pre>yii\db\Query::where()</code> operand format (samdark)</li>
<li>Ehn #2380: Added <code v-pre>yii\widgets\ActiveForm::enableClientScript</code> to support turning on and off client side script generation (qiangxue)</li>
<li>Enh #2435: <code v-pre>yii\db\IntegrityException</code> is now thrown on database integrity errors instead of general <code v-pre>yii\db\Exception</code> (samdark)</li>
<li>Enh #2558: Enhanced support for memcached by adding <code v-pre>yii\caching\MemCache::persistentId</code> and <code v-pre>yii\caching\MemCache::options</code> (qiangxue)</li>
<li>Enh #2837: Error page now shows arguments in stack trace method calls (samdark)</li>
<li>Enh #2906: Added support for using conditional comments for js and css files registered through asset bundles and <code v-pre>yii\helpers\Html</code> helper (exromany, qiangxue)</li>
<li>Enh #2942: Added truncate and truncateWord methods (Alex-Code, samdark)</li>
<li>Enh #3008: Added <code v-pre>yii\helpers\Html::errorSummary()</code> (qiangxue)</li>
<li>Enh #3088: The debug and gii modules will manage their own URL rules now (hiltonjanfield, qiangxue)</li>
<li>Enh #3101: Improved handling of log target failures. It will now skip target and log reason instead of going into infinite cycle (samdark)</li>
<li>Enh #3103: debugger panel is now not displayed when printing a page (githubjeka)</li>
<li>Enh #3108: Added <code v-pre>yii\debug\Module::enableDebugLogs</code> to disable logging debug logs by default (qiangxue)</li>
<li>Enh #3132: <code v-pre>yii\rbac\PhpManager</code> now supports more compact data file format (qiangxue)</li>
<li>Enh #3154: Added validation error display for <code v-pre>GridView</code> filters (ivan-kolmychek)</li>
<li>Enh #3177: <code v-pre>yii\filters\auth\CompositeAuth</code> will send out challenges from all auth methods (qiangxue)</li>
<li>Enh #3196: Masked input upgraded to use jquery.inputmask plugin with more features. (kartik-v)</li>
<li>Enh #3220: Added support for setting transaction isolation levels (cebe)</li>
<li>Enh #3221: Added events for DB transaction commit/rollback (drcypher, qiangxue)</li>
<li>Enh #3222: Added <code v-pre>useTablePrefix</code> option to the model generator for Gii (horizons2)</li>
<li>Enh #3230: Added <code v-pre>yii\filters\AccessControl::user</code> to support access control with different actors (qiangxue)</li>
<li>Enh #3232: Added <code v-pre>export()</code> and <code v-pre>exportAsString()</code> methods to <code v-pre>yii\helpers\BaseVarDumper</code> (klimov-paul)</li>
<li>Enh #3240: Added support for assigning an anonymous function to <code v-pre>yii\widgets\ActiveForm::fieldConfig</code> (qiangxue)</li>
<li>Enh #3244: Allow logging complex data such as arrays and object via the log system (cebe)</li>
<li>Enh #3252: Added support for case insensitive matching using ILIKE to PostgreSQL QueryBuilder (cebe)</li>
<li>Enh #3280: Support dynamically attaching anonymous behaviors (qiangxue)</li>
<li>Enh #3283: Added <code v-pre>$checkAjax</code> to <code v-pre>yii\web\User::loginRequired()</code> (qiangxue)</li>
<li>Enh #3284: Added support for checking multiple ETags by <code v-pre>yii\filters\HttpCache</code> (qiangxue)</li>
<li>Enh #3298: Supported configuring <code v-pre>View::theme</code> using a class name (netyum, qiangxue)</li>
<li>Enh #3328: <code v-pre>yii\mail\BaseMailer</code> generates better text body from html body (armab)</li>
<li>Enh #3380: Allow <code v-pre>value</code> in <code v-pre>defaultValueValidator</code> to be a closure (Alex-Code)</li>
<li>Enh #3384: Added callback-style transactions (leandrogehlen, Ragazzo, samdark)</li>
<li>Enh #3399, #3241: Added support for MS SQL Server older than 2012 (fourteenmeister, samdark)</li>
<li>Enh #3410: <code v-pre>yii.activeForm.js</code> now supports adding/removing fields dynamically (qiangxue)</li>
<li>Enh #3459: Added logging of errors, which may occur at <code v-pre>yii\caching\FileCache::gc()</code> (klimov-paul)</li>
<li>Enh #3472: Added configurable option to encode spaces in dropDownLists and listBoxes (kartik-v)</li>
<li>Enh #3518: <code v-pre>yii\helpers\Html::encode()</code> now replaces invalid code sequences with “�” (DaSourcerer)</li>
<li>Enh #3520: Added <code v-pre>unlinkAll()</code> method to Active Record to remove all records of a model relation (NmDimas, samdark, cebe)</li>
<li>Enh #3521: Added <code v-pre>yii\filters\HttpCache::sessionCacheLimiter</code> (qiangxue)</li>
<li>Enh #3542: Removed requirement to specify <code v-pre>extensions</code> in application config (samdark)</li>
<li>Enh #3562: Adding rotateByCopy to <code v-pre>yii\log\FileTarget</code> (pawzar)</li>
<li>Enh #3574: Add integrity check support for SQLite (zeeke)</li>
<li>Enh #3581: Added <code v-pre>yii\validators\CompareValidator::type</code> to support type conversion before comparing values (qiangxue)</li>
<li>Enh #3597: Nested array support for HTML5 custom <code v-pre>data-*</code> attributes (armab)</li>
<li>Enh #3607: Added support for limit in migrations actions: history, new, redo (Ragazzo)</li>
<li>Enh #3631: Added property <code v-pre>currencyCode</code> to <code v-pre>yii\i18n\Formatter</code> (leandrogehlen)</li>
<li>Enh #3636: Hide menu container tag with empty items in <code v-pre>yii\widgets\Menu</code> (arturf)</li>
<li>Enh #3643: Improved Mime-Type detection by using the <code v-pre>mime.types</code> file from apache http project to dected mime types by file extension (cebe, pavel-voronin, trejder)</li>
<li>Enh #3765: Added <code v-pre>yii\web\User::enableSession</code> to support authentication without using session (qiangxue)</li>
<li>Enh #3708: Added database replication and automatic read-write splitting support for <code v-pre>yii\db\Connection</code> (qiangxue)</li>
<li>Enh #3773: Added <code v-pre>yii\validators\FileValidator::mimeTypes</code> to support validating MIME types of files (Ragazzo)</li>
<li>Enh #3774: Added <code v-pre>yii\validators\FileValidator::checkExtensionByMimeType</code> to support validating file types against file mime-types (Ragazzo)</li>
<li>Enh #3801: Base migration controller <code v-pre>yii\console\controllers\BaseMigrateController</code> extracted (klimov-paul)</li>
<li>Enh #3811: Now Gii model generator makes autocomplete for model class field (mitalcoi)</li>
<li>Enh #3926: <code v-pre>yii\widgets\Breadcrumbs::$links</code>. Allows individual link to have its own <code v-pre>template</code> (creocoder, umneeq)</li>
<li>Enh #3939: <code v-pre>yii\helpers\Inflector::slug()</code> improvements (samdark)
<ul>
<li>Added protected <code v-pre>yii\helpers\Inflector::transliterate()</code> that could be replaced with custom translit implementation.</li>
<li>Added proper tests for both intl-based slug and PHP fallback.</li>
<li>Removed character maps for non-latin languages.</li>
<li>Improved overall slug results.</li>
<li>Added note about the fact that intl is required for non-latin languages to requirements checker.</li>
</ul>
</li>
<li>Enh #3957: Added more straightforward configurable properties to <code v-pre>yii\behaviors\BlameableBehavior</code>, <code v-pre>yii\behaviors\SluggableBehavior</code> and <code v-pre>yii\behaviors\TimestampBehavior</code> (creocoder)</li>
<li>Enh #3992: In mail layouts you can now access the message object via <code v-pre>$message</code> variable (qiangxue)</li>
<li>Enh #4028: Added ability to <code v-pre>yii\widgets\Menu</code> to encode each item’s label separately (creocoder, umneeq)</li>
<li>Enh #4048: Added <code v-pre>init</code> event to <code v-pre>yii\bd\ActiveQuery</code> classes (qiangxue)</li>
<li>Enh #4072: <code v-pre>yii\rbac\PhpManager</code> adjustments (samdark)
<ul>
<li>Data is now stored in three separate files for items, assignments and rules. File format is simpler.</li>
<li>Removed <code v-pre>authFile</code>. Added <code v-pre>itemFile</code>, <code v-pre>assignmentFile</code> and <code v-pre>ruleFile</code>.</li>
<li><code v-pre>createdAt</code> and <code v-pre>updatedAt</code> are now properly filled with corresponding file modification time.</li>
<li><code v-pre>save()</code> and <code v-pre>load()</code> are now protected instead of public.</li>
<li>Added unit test for saving and loading data.</li>
</ul>
</li>
<li>Enh #4080: Added proper handling and support of the symlinked directories in <code v-pre>yii\helpers\FileHelper</code>, added $options parameter in <code v-pre>yii\helpers\FileHelper::removeDirectory()</code> (resurtm)</li>
<li>Enh #4086: <code v-pre>changedAttributes</code> of <code v-pre>afterSave</code> Event now contain old values (dizews)</li>
<li>Enh #4114: Added <code v-pre>yii\helpers\Security::generateRandomBytes()</code>, improved tests (samdark)</li>
<li>Enh #4122: <code v-pre>yii\helpers\Html::error()</code> and <code v-pre>yii\helpers\Html::errorSummary()</code> are now accepting <code v-pre>encode</code> option. If set to false it prevents encoding of error messages (samdark)</li>
<li>Enh #4131: Security adjustments (tom–)
<ul>
<li>Added HKDF to <code v-pre>yii\base\Security</code>.</li>
<li>Reverted auto fallback to PHP PBKDF2.</li>
<li>Fixed PBKDF2 key truncation.</li>
<li>Adjusted API.</li>
</ul>
</li>
<li>Enh #4209: Added <code v-pre>beforeCopy</code>, <code v-pre>afterCopy</code>, <code v-pre>forceCopy</code> properties to <code v-pre>yii\web\AssetManager</code> (cebe)</li>
<li>Enh #4225: Added <code v-pre>yii\widgets\ActiveForm::validateOnBlur</code> and <code v-pre>yii\widgets\ActiveField::validateOnBlur</code> (qiangxue)</li>
<li>Enh #4297: Added check for DOM extension to requirements (samdark)</li>
<li>Enh #4317: Added <code v-pre>absoluteAuthTimeout</code> to <code v-pre>yii\web\User</code> (ivokund, nkovacs)</li>
<li>Enh #4360: Added client validation support for file validator (Skysplit)</li>
<li>Enh #4372: <code v-pre>yii\filters\HttpCache</code> failed to comply to RFC 7232 (DaSourcerer)</li>
<li>Enh #4424: Added <code v-pre>inline</code> parameter to <code v-pre>yii\web\Response::xSendFile()</code> (klimov-paul)</li>
<li>Enh #4436: Added callback functions to AJAX-based form validation (thiagotalma)</li>
<li>Enh #4485: Added support for deferred validation in <code v-pre>yii\widgets\ActiveForm</code> (Alex-Code)</li>
<li>Enh #4520: Added sasl support to <code v-pre>yii\caching\MemCache</code> (xjflyttp)</li>
<li>Enh #4566: Added client validation support for image validator (Skysplit, qiangxue)</li>
<li>Enh #4581: Added ability to disable URL encoding in <code v-pre>yii\web\UrlRule</code> (tadaszelvys)</li>
<li>Enh #4602: Added $key param in <code v-pre>yii\grid\ActionColumn</code> buttons Closure call (disem)</li>
<li>Enh #4607: AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively (qiangxue)</li>
<li>Enh #4630: Added automatic generating of unique slug value to <code v-pre>yii\behaviors\Sluggable</code> (klimov-paul)</li>
<li>Enh #4636: Added <code v-pre>yii\web\Response::setDownloadHeaders()</code> (pawzar)</li>
<li>Enh #4644: Added <code v-pre>yii\db\Schema::createColumnSchema()</code> to be able to customize column schema used (mcd-php)</li>
<li>Enh #4656: HtmlPurifier helper config can now be a closure to change the purifier config object after it was created (Alex-Code)</li>
<li>Enh #4062: Added ‘caseSensitive’ option to <code v-pre>yii\helpers\BaseFileHelper::findFiles()</code> (klimov-paul)</li>
<li>Enh #4691: Encoding on <code v-pre>yii\widgets\ActiveForm</code> and <code v-pre>yii\widgets\ActiveField</code> validation errors is now configurable (Alex-Code)</li>
<li>Enh #4740: Added <code v-pre>yii\web\Session::addFlash()</code> (restyler)</li>
<li>Enh #4897: Added <code v-pre>yii\helpers\FileHelper::mimeMagicFile</code> (qiangxue)</li>
<li>Enh #5058: Added <code v-pre>$pageSize</code> parameter to <code v-pre>yii\data\Pagination::createUrl()</code> to allow creating URLs with arbitrary page sizes (cdcchen, qiangxue)</li>
<li>Enh #5089: Added asset debugger panel (arturf, qiangxue)</li>
<li>Enh #5117: Added <code v-pre>beforeFilter</code> and <code v-pre>afterFilter</code> JS events to <code v-pre>GridView</code> (kartik-v)</li>
<li>Enh #5124: Added support to prevent duplicated form submission when using <code v-pre>yii\widgets\ActiveForm</code> (qiangxue)</li>
<li>Enh #5131: Added <code v-pre>$autoRenew</code> parameter to <code v-pre>yii\web\User::getIdentity()</code> (qiangxue)</li>
<li>Enh #5164: Added <code v-pre>yii\helpers\Inlfector::$transliterator</code> that can be used to customize intl transliteration (zinzinday)</li>
<li>Enh: Added support for using sub-queries when building a DB query with <code v-pre>IN</code> condition (qiangxue)</li>
<li>Enh: Supported adding a new response formatter without the need to reconfigure existing formatters (qiangxue)</li>
<li>Enh: Added <code v-pre>yii\web\UrlManager::addRules()</code> to simplify adding new URL rules (qiangxue)</li>
<li>Enh: Added support to insert an event handler at the beginning of class-level event handler queue (qiangxue)</li>
<li>Enh: Added <code v-pre>yii\console\Controller::EXIT_CODE_NORMAL</code> and <code v-pre>yii\console\Controller::EXIT_CODE_ERROR</code> constants (samdark)</li>
<li>Enh: <code v-pre>yii\console\MigrateController</code> now returns <code v-pre>yii\console\Controller::EXIT_CODE_ERROR</code> in case of failed migration (samdark)</li>
<li>Enh: Added method `yii\base\ErrorHandler::unregister()`` for unregistering the ErrorHandler (cebe)</li>
<li>Enh: Added <code v-pre>all</code> option to <code v-pre>yii\console\controllers\MigrateController::actionDown()</code> action (creocoder, umneeq)</li>
<li>Enh: Added support for array attributes in <code v-pre>exist</code> validator (creocoder)</li>
<li>Enh: Added support for using path alias with <code v-pre>FileDependency::fileName</code> (qiangxue)</li>
<li>Enh: Added param <code v-pre>hideOnSinglePage</code> to <code v-pre>yii\widgets\LinkPager</code> (arturf)</li>
<li>Enh: Added support for array attributes in <code v-pre>in</code> validator (creocoder)</li>
<li>Enh: Improved <code v-pre>yii\helpers\Inflector::slug()</code> to support more cases for Russian, Hebrew and special characters (samdark)</li>
<li>Enh: ListView now uses the widget ID in the base tag, consistent to gridview (cebe)</li>
<li>Enh: Added <code v-pre>yii\web\Response::enableCsrfCookie</code> to support storing CSRF tokens in session (qiangxue)</li>
<li>Chg #2287: Split <code v-pre>yii\db\ColumnSchema::typecast()</code> into two methods <code v-pre>phpTypecast()</code> and <code v-pre>dbTypecast()</code> to allow specifying PDO type explicitly (cebe)</li>
<li>Chg #2359: Refactored formatter class. One class with or without intl extension and PHP format pattern as standard (Erik_r, cebe)
<ul>
<li><code v-pre>yii\base\Formatter</code> functionality has been merged into <code v-pre>yii\i18n\Formatter</code></li>
<li>removed the <code v-pre>yii\base\Formatter</code> class</li>
</ul>
</li>
<li>Chg #1551: Refactored <code v-pre>yii\validators\DateValidator</code>to support ICU date format and use the format defined in <code v-pre>yii\i18n\Formatter</code> by default (cebe)</li>
<li>Chg #2898: <code v-pre>yii\console\controllers\AssetController</code> is now using hashes instead of timestamps (samdark)</li>
<li>Chg #2913: RBAC <code v-pre>yii\rbac\DbManager</code> is now initialized via migration (samdark)</li>
<li>Chg #2914: <code v-pre>yii\widgets\ActiveForm::fieldConfig</code> will be merged recursively with the <code v-pre>$options</code> parameter in <code v-pre>yii\widgets\ActiveForm::field()</code> (qiangxue)</li>
<li>Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)</li>
<li>Chg #3175: <code v-pre>yii\base\InvalidCallException</code>, <code v-pre>yii\base\InvalidParamException</code>, <code v-pre>yii\base\UnknownMethodException</code> are now extended from SPL <code v-pre>BadMethodCallException</code> (samdark)</li>
<li>Chg #3358: Removed automatic CSRF meta tag generation by <code v-pre>View</code>. Added <code v-pre>yii\helpers\Html::csrfMetaTags()</code> and its call to main layout files (qiangxue)</li>
<li>Chg #3383: Added <code v-pre>$type</code> parameter to <code v-pre>IdentityInterface::findIdentityByAccessToken()</code> (qiangxue)</li>
<li>Chg #3511: Dropped <code v-pre>yii.allowAction()</code> and modified <code v-pre>yii.confirm()</code> in <code v-pre>yii.js</code> to support callbacks (tanakahisateru)</li>
<li>Chg #3531: <code v-pre>yii\grid\GridView</code> now allows any character (except “:”) in the attribute part of the shorthand syntax for columns (rawtaz)</li>
<li>Chg #3544: Added <code v-pre>$key</code> as a parameter to the callable specified via <code v-pre>yii\grid\DataColumn::value</code> (mdmunir)</li>
<li>Chg #3611: Query caching is refactored. (qiangxue)
<ul>
<li><code v-pre>yii\db\Connection::beginCache()</code> and <code v-pre>endCache()</code> are removed.</li>
<li>Added <code v-pre>yii\db\Connection::cache()</code> and <code v-pre>noCache()</code>.</li>
<li>Added <code v-pre>Command::cache()</code> and <code v-pre>noCache()</code>.</li>
<li><code v-pre>yii\db\Connection::queryCacheDuration</code> is now used as a default cache duration parameter.</li>
</ul>
</li>
<li>Chg #3640: All cookies are now httpOnly by default in order to increase overall security (samdark)</li>
<li>Chg #3687: Default <code v-pre>sourceLanguage</code> and <code v-pre>language</code> are now <code v-pre>en-US</code> in order for i18n formatter to work correctly (samdark)</li>
<li>Chg #3804: Added <code v-pre>fileinfo</code> PHP extension to the basic requirement of Yii (Ragazzo)</li>
<li>Chg #3866: The <code v-pre>yii\validators\FileValidator::types</code> property is renamed to <code v-pre>yii\validators\FileValidator::extensions</code> (Ragazzo)</li>
<li>Chg #3897: Raised visibility of <code v-pre>yii\web\View::registerAssetFiles()</code> to protected (samdark)</li>
<li>Chg #3899: Moved <code v-pre>MailEvent</code> class to <code v-pre>yii\mail</code> namespace (cebe)</li>
<li>Chg #3910: Removed the <code v-pre>container</code> option from <code v-pre>yii\helpers\Html::checkbox()</code> and <code v-pre>yii\helpers\Html::radio()</code> (creocoder)</li>
<li>Chg #3956: Flash messages set via <code v-pre>Yii::$app-&gt;session-&gt;setFlash()</code> will be removed only if they are accessed (qiangxue)</li>
<li>Chg #3989: The default value for <code v-pre>yii\log\FileTarget::$rotateByCopy</code> now defaults to true to work on windows by default (cebe)</li>
<li>Chg #4051: Renamed <code v-pre>yii\caching\GroupDependency</code> to <code v-pre>TagDependency</code> and added support for associating multiple tags to a single cached data item (qiangxue)</li>
<li>Chg #4071: <code v-pre>mail</code> component renamed to <code v-pre>mailer</code>, <code v-pre>yii\log\EmailTarget::$mail</code> renamed to <code v-pre>yii\log\EmailTarget::$mailer</code> (samdark)</li>
<li>Chg #4147: <code v-pre>yii\mail\BaseMailer::compose()</code> will not overwrite the <code v-pre>message</code> parameter if it is explicitly provided (qiangxue)</li>
<li>Chg #4188: API exceptions are now exposing less data when YII_DEBUG is false (samdark)</li>
<li>Chg #4201: change default value of <code v-pre>SyslogTarget::facility</code> from <code v-pre>LOG_SYSLOG</code> to <code v-pre>LOG_USER</code> (dizews)</li>
<li>Chg #4211: <code v-pre>yii\db\BaseActiveRecord::populateRecord()</code> now silently hide selected columns that are not defined in AR instead of failing with an error (miramir)</li>
<li>Chg #4227: <code v-pre>yii\widgets\LinkPager::hideOnSinglePage</code> is now <code v-pre>true</code> by default (samdark)</li>
<li>Chg #4310: Removed <code v-pre>$data</code> from signature of <code v-pre>yii\rbac\ManagerInterface</code> (samdark)</li>
<li>Chg #4318: <code v-pre>yii\helpers\Html::ul()</code> and <code v-pre>ol()</code> will return an empty list tag if an empty item array is given (qiangxue)</li>
<li>Chg #4331: <code v-pre>yii\helpers\Url</code> now uses <code v-pre>UrlManager</code> to determine base URL when generating URLs (qiangxue)</li>
<li>Chg #4424: Added <code v-pre>inline</code> and <code v-pre>mimeType</code> options to all file downloading methods provided in <code v-pre>yii\web\Response</code> (qiangxue)</li>
<li>Chg #4454: Improved asset bundle managed and used composer-asset-plugin to manage the dependencies on 3rd-party JS libraries (qiangxue)</li>
<li>Chg #4501: Renamed the constant <code v-pre>YII_PATH</code> to <code v-pre>YII2_PATH</code> (qiangxue)</li>
<li>Chg #4586: Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR (qiangxue)</li>
<li>Chg #4591: <code v-pre>yii\helpers\Url::to()</code> will no longer prefix relative URLs with the base URL (qiangxue)</li>
<li>Chg #4595: <code v-pre>yii\widgets\LinkPager</code>‘s <code v-pre>nextPageLabel</code>, <code v-pre>prevPageLabel</code>, <code v-pre>firstPageLabel</code>, <code v-pre>lastPageLabel</code> are now taking <code v-pre>false</code> instead of <code v-pre>null</code> for “no label” (samdark)</li>
<li>Chg #4911: Changed callback signature used in <code v-pre>yii\base\ArrayableTrait::fields()</code> from <code v-pre>function ($field, $model) {</code> to <code v-pre>function ($model, $field) {</code> (samdark)</li>
<li>Chg #4955: Replaced callbacks with events for <code v-pre>yii\widgets\ActiveForm</code> (qiangxue)
<ul>
<li>Removed <code v-pre>beforeValidate()</code>, <code v-pre>beforeValidateAll()</code>, <code v-pre>afterValidate()</code>, <code v-pre>afterValidateAll()</code>, <code v-pre>ajaxBeforeSend()</code> and <code v-pre>ajaxComplete()</code> from <code v-pre>yii\widgets\ActiveForm</code>.</li>
<li>Added <code v-pre>beforeValidate</code>, <code v-pre>afterValidate</code>, <code v-pre>beforeValidateAttribute</code>, <code v-pre>afterValidateAttribute</code>, <code v-pre>beforeSubmit</code>, <code v-pre>ajaxBeforeSend</code> and <code v-pre>ajaxComplete</code> events to <code v-pre>yii.activeForm</code> jQuery plugin.</li>
</ul>
</li>
<li>Chg #5176: <code v-pre>ActiveFixture</code> will reset table in its <code v-pre>load()</code> method instead of <code v-pre>unload()</code> (qiangxue)</li>
<li>Chg: Replaced <code v-pre>clearAll()</code> and <code v-pre>clearAllAssignments()</code> in <code v-pre>yii\rbac\ManagerInterface</code> with <code v-pre>removeAll()</code>, <code v-pre>removeAllRoles()</code>, <code v-pre>removeAllPermissions()</code>, <code v-pre>removeAllRules()</code> and <code v-pre>removeAllAssignments()</code> (qiangxue)</li>
<li>Chg: Added <code v-pre>$user</code> as the first parameter of <code v-pre>yii\rbac\Rule::execute()</code> (qiangxue)</li>
<li>Chg: <code v-pre>yii\grid\DataColumn::getDataCellValue()</code> visibility is now <code v-pre>public</code> to allow accessing the value from a GridView directly (cebe)</li>
<li>Chg: <code v-pre>yii\data\ActiveDataProvider::$query</code> will not be modified directly with pagination and sorting anymore so it will be reuseable (cebe)</li>
<li>Chg: Removed <code v-pre>yii\rest\ActiveController::$transactional</code> property and connected functionality (samdark)</li>
<li>Chg: Changed the default value of the <code v-pre>keyPrefix</code> property of cache components to be null (qiangxue)</li>
<li>Chg: Added <code v-pre>prefix</code> column to <code v-pre>yii\log\DbTarget</code> to have the same amount of information logged as in files and emails (cebe)</li>
<li>Chg: Use <code v-pre>limit(null)</code> instead of <code v-pre>limit(-1)</code> in migration controller to be compatible to more backends (cebe)</li>
<li>Chg: <code v-pre>yii\web\Request::cookieValidationKey</code> must be explicitly specified for each application that wants to use cookie validation (qiangxue)</li>
<li>Chg: Added <code v-pre>yii\composer\Installer::postCreateProject()</code> and modified the syntax of calling installer methods in composer.json (qiangxue)</li>
<li>Chg: When an ID is found to be in both <code v-pre>Application::controllerMap</code> and <code v-pre>Application::modules</code>, the former will take precedence (qiangxue)</li>
<li>Chg: <code v-pre>yii\helpers\Html::activeCheckbox()</code> and <code v-pre>activeRadio()</code> will generate labels by default using the corresponding attribute labels (qiangxue)</li>
<li>New #1280: Gii can now be run from command line (schmunk42, cebe, qiangxue)</li>
<li>New #3911: Added <code v-pre>yii\behaviors\SluggableBehavior</code> that fills the specified model attribute with the transliterated and adjusted version to use in URLs (creocoder)</li>
<li>New #4193: Added <code v-pre>yii\filters\Cors</code> CORS filter to allow Cross Origin Resource Sharing (pgaultier)</li>
<li>New #4945: Added <code v-pre>yii\test\ArrayFixture</code> (Ragazzo)</li>
<li>New: Added <code v-pre>yii\base\InvalidValueException</code> (qiangxue)</li>
<li>New: Added <code v-pre>yii\caching\ArrayCache</code> (cebe)</li>
</ul>
<h2 id="_2-0-0-beta-april-13-2014" tabindex="-1"><a class="header-anchor" href="#_2-0-0-beta-april-13-2014"><span>2.0.0-beta April 13, 2014</span></a></h2>
<ul>
<li>
<p>Bug #1265: <code v-pre>yii\console\controllers\AssetController</code> does not override ‘js’ and ‘css’ for compressed bundles (klimov-paul)</p>
</li>
<li>
<p>Bug #1326: The <code v-pre>visible</code> setting for <code v-pre>yii\widgets\DetailView</code> doesn’t work as expected (qiangxue)</p>
</li>
<li>
<p>Bug #1412: <code v-pre>yii\validators\FileValidator</code> and <code v-pre>yii\validators\ImageValidator</code> still trigger <code v-pre>uploadRequired</code> error in some case when <code v-pre>skipOnEmpty</code> is true and no upload is provided (qiangxue)</p>
</li>
<li>
<p>Bug #1446: Logging while logs are processed causes infinite loop (qiangxue)</p>
</li>
<li>
<p>Bug #1497: Localized view files are not correctly returned (mintao)</p>
</li>
<li>
<p>Bug #1500: Log messages exported to files are not separated by newlines (omnilight, qiangxue)</p>
</li>
<li>
<p>Bug #1504: Debug toolbar isn’t loaded successfully in some environments when xdebug is enabled (qiangxue)</p>
</li>
<li>
<p>Bug #1509: The SQL for creating Postgres RBAC tables is incorrect (qiangxue)</p>
</li>
<li>
<p>Bug #1545: It was not possible to execute DB Query twice, params where missing (cebe)</p>
</li>
<li>
<p>Bug #1550: fixed the issue that JUI input widgets did not property input IDs.</p>
</li>
<li>
<p>Bug #1654: Fixed the issue that a new message source object is generated for every new message being translated (qiangxue)</p>
</li>
<li>
<p>Bug #1582: Error messages shown via client-side validation should not be double encoded (qiangxue)</p>
</li>
<li>
<p>Bug #1591: <code v-pre>yii\validators\StringValidator</code> is accessing undefined property (qiangxue)</p>
</li>
<li>
<p>Bug #1597: Added <code v-pre>enableAutoLogin</code> to basic and advanced project templates so “remember me” now works properly (samdark)</p>
</li>
<li>
<p>Bug #1631: Charset is now explicitly set to UTF-8 when serving JSON (samdark)</p>
</li>
<li>
<p>Bug #1635: <code v-pre>yii\jui\SliderInput</code> wasn’t properly initialized (samdark)</p>
</li>
<li>
<p>Bug #1659: MSSQL doesn’t support limit (Ana1oliy)</p>
</li>
<li>
<p>Bug #1686: <code v-pre>yii\widgets\ActiveForm</code> is creating duplicated messages in error summary (qiangxue)</p>
</li>
<li>
<p>Bug #1704: Incorrect regexp is used in <code v-pre>yii\helpers\Inflector::camelize()</code> (qiangxue)</p>
</li>
<li>
<p>Bug #1710: OpenId auth client does not request required attributes correctly (klimov-paul)</p>
</li>
<li>
<p>Bug #1798: Fixed label attributes for array fields (zhuravljov)</p>
</li>
<li>
<p>Bug #1800: Better check for <code v-pre>$_SERVER['HTTPS']</code> in <code v-pre>yii\web\Request::getIsSecureConnection()</code> (ginus, samdark)</p>
</li>
<li>
<p>Bug #1812: Hide potential warning message due to race condition occurring to <code v-pre>Session::regenerateID()</code> call (qiangxue)</p>
</li>
<li>
<p>Bug #1827: Debugger toolbar is loaded twice if an action is calling <code v-pre>run()</code> to execute another action (qiangxue)</p>
</li>
<li>
<p>Bug #1868: Added ability to exclude tables from <code v-pre>yii\console\controllers\FixtureController</code> apply/clear actions. (Ragazzo)</p>
</li>
<li>
<p>Bug #1869: Fixed tables clearing. <code v-pre>TRUNCATE</code> changed to <code v-pre>DELETE</code> to avoid PostgreSQL tables checks (and truncating all tables) (Ragazzo)</p>
</li>
<li>
<p>Bug #1870: Validation errors weren’t properly translated when using clientside validation (samdark)</p>
</li>
<li>
<p>Bug #1930: Fixed domain based URL matching for website root (samdark)</p>
</li>
<li>
<p>Bug #1937: Fixed wrong behavior or advanced app’s <code v-pre>init --env</code> when called without parameter actually specified (samdark)</p>
</li>
<li>
<p>Bug #1959: <code v-pre>yii\helpers\Html::activeCheckbox()</code> wasn’t respecting custom values for checked/unchecked state (klevron, samdark)</p>
</li>
<li>
<p>Bug #1965: <code v-pre>yii\base\Controller::findLayoutFile()</code> returns incorrect file path when layout name starts with a slash (qiangxue)</p>
</li>
<li>
<p>Bug #1992: In module scenario that use ‘site/captcha’ will get wrong refreshUrl (callmez)</p>
</li>
<li>
<p>Bug #1993: afterFind event in AR is now called after relations have been populated (cebe, creocoder)</p>
</li>
<li>
<p>Bug #1998: Unchecked required checkbox never pass client validation (klevron)</p>
</li>
<li>
<p>Bug #2084: AssetController adjusting CSS URLs declared at same line fixed (klimov-paul)</p>
</li>
<li>
<p>Bug #2091: <code v-pre>yii\db\QueryBuilder::buildInCondition()</code> fails to handle array not starting with index 0 (qiangxue)</p>
</li>
<li>
<p>Bug #2160: SphinxQL does not support OFFSET (qiangxue, romeo7)</p>
</li>
<li>
<p>Bug #2209: When I18N message translation is missing source language is now used for formatting (samdark)</p>
</li>
<li>
<p>Bug #2212: <code v-pre>yii\gridview\DataColumn</code> generates incorrect labels when used with nosql DB and there is no data (qiangxue)</p>
</li>
<li>
<p>Bug #2298: Fixed the bug that Gii controller generator did not allow digit in the controller ID (qiangxue)</p>
</li>
<li>
<p>Bug #2303: Fixed the bug that <code v-pre>yii\base\Theme::pathMap</code> did not support dynamic update with path aliases (qiangxue)</p>
</li>
<li>
<p>Bug #2324: Fixed QueryBuilder bug when building a query with “query” option (mintao)</p>
</li>
<li>
<p>Bug #2399: Fixed the bug that AssetBundle did not handle relative URLs correctly (qiangxue)</p>
</li>
<li>
<p>Bug #2502: Unclear error message when <code v-pre>$_SERVER['DOCUMENT_ROOT']</code> is empty (samdark)</p>
</li>
<li>
<p>Bug #2519: MessageSource removed translation messages when event handler was bound to <code v-pre>missingTranslation</code>-event (cebe)</p>
</li>
<li>
<p>Bug #2527: Source language for <code v-pre>app</code> message category was always <code v-pre>en</code> no matter which application <code v-pre>sourceLanguage</code> was used (samdark)</p>
</li>
<li>
<p>Bug #2559: Going back on browser history breaks <code v-pre>yii\widgets\GridView</code> filtering with <code v-pre>Pjax</code> (tonydspaniard)</p>
</li>
<li>
<p>Bug #2571: Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false (qiangxue)</p>
</li>
<li>
<p>Bug #2607: <code v-pre>yii message</code> tool wasn’t updating <code v-pre>message</code> table (mitalcoi)</p>
</li>
<li>
<p>Bug #2624: <code v-pre>yii\helpers\Html::textArea()`` should respect</code>name` option. (qiangxue)</p>
</li>
<li>
<p>Bug #2653: Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue)</p>
</li>
<li>
<p>Bug #2681: Fixed the bug of php build-in server <code v-pre>https://bugs.php.net/bug.php?id=66606</code> (dizews)</p>
</li>
<li>
<p>Bug #2683: Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false (qiangxue)</p>
</li>
<li>
<p>Bug #2695: Fixed the issue that <code v-pre>yii\validators\FileValidator::isEmpty()</code> always returns true for validate multiple files (ZhandosKz)</p>
</li>
<li>
<p>Bug #2739: Fixed the issue that <code v-pre>yii\rest\CreateAction::run()</code> was using obsolete <code v-pre>yii\web\Controller::createAbsoluteUrl()</code> method (tonydspaniard)</p>
</li>
<li>
<p>Bug #2740: Fixed the issue that <code v-pre>yii\captcha\CaptchaAction::run()</code> was using obsolete <code v-pre>yii\web\Controller::createUrl()</code> method (tonydspaniard)</p>
</li>
<li>
<p>Bug #2760: Fixed <code v-pre>yii\grid\GridView</code> <code v-pre>filterUrl</code> parameters (qiangxue, AlexGx)</p>
</li>
<li>
<p>Bug #2834: When overriding i18n translation sources from config using <code v-pre>app*</code> or <code v-pre>yii*</code> default <code v-pre>app</code> and <code v-pre>yii</code> sources were not removed (samdark)</p>
</li>
<li>
<p>Bug #2848: Individual queries should be enclosed within parenthesis in a UNION query (qiangxue)</p>
</li>
<li>
<p>Bug #2862: Using <code v-pre>yii\cache\DbCache</code> while enabling schema caching may cause infinite loops (qiangxue)</p>
</li>
<li>
<p>Bug #3052: Fixed the issue that cache dependency data is not reused when <code v-pre>reusable</code> is set true (qiangxue)</p>
</li>
<li>
<p>Bug #3443: Fixed <code v-pre>yii\bootstrap\Nav</code> and <code v-pre>yii\bootstrap\Dropdown</code> were generating wrong ids for submenus (arturf)</p>
</li>
<li>
<p>Bug #3691: Fixed the issue that <code v-pre>yii\web\CookieCollection::has()</code> always returns false for cookies from browser (sonicgd)</p>
</li>
<li>
<p>Bug #4212: MSSQL query builder should not generate the <code v-pre>ORDER BY</code> clause when it is not needed (qiangxue)</p>
</li>
<li>
<p>Bug #4232: <code v-pre>yii\db\TableSchema::sequenceName</code> for PostgreSQL should remove the enclosing quotes (katzz0, qiangxue)</p>
</li>
<li>
<p>Bug #4697: MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY (qiangxue)</p>
</li>
<li>
<p>Bug: Fixed <code v-pre>Call to a member function</code>registerAssetFiles()<code v-pre>on a non-object</code> in case of wrong <code v-pre>sourcePath</code> for an asset bundle (samdark)</p>
</li>
<li>
<p>Bug: Fixed incorrect event name for <code v-pre>yii\jui\Spinner</code> (samdark)</p>
</li>
<li>
<p>Bug: <code v-pre>yii\helpers\Json::encode()`` did not handle objects that implement</code>JsonSerializable` interface correctly (cebe)</p>
</li>
<li>
<p>Bug: Fixed issue with tabular input on <code v-pre>yii\widgets\ActiveField::radio()</code> and <code v-pre>yii\widgets\ActiveField::checkbox()</code> (jom)</p>
</li>
<li>
<p>Bug: Fixed the issue that query cache returns the same data for the same SQL but different query methods (qiangxue)</p>
</li>
<li>
<p>Bug: Fixed URL parsing so it’s now properly giving 404 for URLs like <code v-pre>http://example.com//////site/about</code> (samdark)</p>
</li>
<li>
<p>Bug: Fixed <code v-pre>yii\console\controllers\HelpController::getModuleCommands()</code> issue where it attempts to scan a module’s controller directory when it doesn’t exist (jom)</p>
</li>
<li>
<p>Bug: Fixed an issue with FileHelper and not accessible directories which resulted in endless loop (cebe)</p>
</li>
<li>
<p>Bug: Fixed <code v-pre>yii\base\Model::load()</code> returned <code v-pre>true</code> if <code v-pre>$data</code> and <code v-pre>formName</code> were empty (samdark)</p>
</li>
<li>
<p>Bug: Fixed issue with <code v-pre>yii\db\ActiveRelationTrait</code> preventing <code v-pre>yii\db\ActiveQuery</code> from clearing events and behaviors on clone (jom)</p>
</li>
<li>
<p>Bug: <code v-pre>yii\db\Query::queryScalar()</code> wasn’t making <code v-pre>SELECT DISTINCT</code> queries subqueries (jom)</p>
</li>
<li>
<p>Bug: Fixed use <code v-pre>$files</code> instead of <code v-pre>self::$_files[$key]</code> to allow inheritance (pgaultier)</p>
</li>
<li>
<p>Enh #46: Added Image extension based on <a href="http://imagine.readthedocs.org/" target="_blank" rel="noopener noreferrer">Imagine library</a> (tonydspaniard)</p>
</li>
<li>
<p>Enh #364: Improve <code v-pre>yii\helpers\Inflector::slug()</code> with <code v-pre>intl</code> transliteration. Improved transliteration char map. (tonydspaniard)</p>
</li>
<li>
<p>Enh #497: Removed <code v-pre>yii\log\Target::logUser</code> and added <code v-pre>yii\log\Target::prefix</code> to support customizing message prefix (qiangxue)</p>
</li>
<li>
<p>Enh #499: Decoupled <code v-pre>Rule</code> from RBAC <code v-pre>Item</code> (samdark, qiangxue)</p>
</li>
<li>
<p>Enh #797: Added support for validating multiple columns by <code v-pre>yii\validators\UniqueValidator</code> and <code v-pre>yii\validators\ExistValidator</code> (qiangxue)</p>
</li>
<li>
<p>Enh #802: Added support for retrieving sub-array element or child object property through <code v-pre>ArrayHelper::getValue()</code> (qiangxue, cebe)</p>
</li>
<li>
<p>Enh #938: Added <code v-pre>yii\web\View::renderAjax()</code> and <code v-pre>yii\web\Controller::renderAjax()</code> (qiangxue)</p>
</li>
<li>
<p>Enh #1293: Replaced <code v-pre>yii\helpers\Console::showProgress()</code> with a better approach. See <code v-pre>yii\helpers\Console::startProgress()</code> for details (cebe)</p>
</li>
<li>
<p>Enh #1406: DB Schema support for Oracle Database (p0larbeer, qiangxue)</p>
</li>
<li>
<p>Enh #1437: Added <code v-pre>yii\widgets\ListView::viewParams</code> (qiangxue)</p>
</li>
<li>
<p>Enh #1467: Added support for organizing controllers in subdirectories (qiangxue)</p>
</li>
<li>
<p>Enh #1469: yii\db\ActiveRecord::find()` now works with default conditions (default scope) applied by createQuery (cebe)</p>
</li>
<li>
<p>Enh #1476: Add <code v-pre>yii\web\Session::handler</code> property (nineinchnick)</p>
</li>
<li>
<p>Enh #1499: Added <code v-pre>yii\grid\ActionColumn::controller</code> property to support customizing the controller for handling GridView actions (qiangxue)</p>
</li>
<li>
<p>Enh #1523: Query conditions now allow to use the NOT operator (cebe)</p>
</li>
<li>
<p>Enh #1535: Improved <code v-pre>yii\web\User</code> to start session only when needed. Also prepared it for use without session. (qiangxue)</p>
</li>
<li>
<p>Enh #1562: Added <code v-pre>yii\bootstrap\Tabs::linkOptions</code> (kartik-v)</p>
</li>
<li>
<p>Enh #1572: Added <code v-pre>yii\web\Controller::createAbsoluteUrl()</code> (samdark)</p>
</li>
<li>
<p>Enh #1579: throw exception when the given AR relation name does not match in a case sensitive manner (qiangxue)</p>
</li>
<li>
<p>Enh #1581: Added <code v-pre>yii\db\ActiveQuery::joinWith()</code> and <code v-pre>yii\db\ActiveQuery::innerJoinWith()</code> to support joining with relations (qiangxue)</p>
</li>
<li>
<p>Enh #1585: added schema parameter to <code v-pre>createAbsoluteUrl()</code> to force ‘http’ or ‘https’ (cebe)</p>
</li>
<li>
<p>Enh #1601: Added support for tagName and encodeLabel parameters in ButtonDropdown (omnilight)</p>
</li>
<li>
<p>Enh #1611: Added <code v-pre>yii\db\BaseActiveRecord::markAttributeDirty()</code> (qiangxue)</p>
</li>
<li>
<p>Enh #1633: Advanced project template now works with MongoDB by default (samdark)</p>
</li>
<li>
<p>Enh #1634: Use masked CSRF tokens to prevent BREACH exploits (qiangxue)</p>
</li>
<li>
<p>Enh #1641: Added <code v-pre>BaseActiveRecord::updateAttributes()</code> (qiangxue)</p>
</li>
<li>
<p>Enh #1646: Added PostgreSQL <code v-pre>yii\db\QueryBuilder::checkIntegrity()</code> and <code v-pre>yii\db\QueryBuilder::resetSequence()</code> (Ragazzo)</p>
</li>
<li>
<p>Enh #1645: Added <code v-pre>yii\db\Connection::$pdoClass</code> property (Ragazzo)</p>
</li>
<li>
<p>Enh #1645: Added support for nested DB transactions (qiangxue)</p>
</li>
<li>
<p>Enh #1681: Added support for automatically adjusting the “for” attribute of label generated by <code v-pre>yii\widgets\ActiveField::label()</code> (qiangxue)</p>
</li>
<li>
<p>Enh #1706: Added support for registering a single JS/CSS file with dependency (qiangxue)</p>
</li>
<li>
<p>Enh #1773: keyPrefix property of Cache is not restricted to alnum characters anymore, however it is still recommended (cebe)</p>
</li>
<li>
<p>Enh #1809: Added support for building “EXISTS” and “NOT EXISTS” query conditions (abdrasulov)</p>
</li>
<li>
<p>Enh #1839: Added support for getting file extension and basename from uploaded file (anfrantic)</p>
</li>
<li>
<p>Enh #1852: <code v-pre>yii\db\ActiveRecord::tableName()</code> now returns table name using <code v-pre>yii\db\Connection::tablePrefix</code> (creocoder)</p>
</li>
<li>
<p>Enh #1881: Improved <code v-pre>yii\bootstrap\NavBar</code> with <code v-pre>containerOptions</code>, <code v-pre>innerContainerOptions</code> and <code v-pre>renderInnerContainer</code> (creocoder)</p>
</li>
<li>
<p>Enh #1894: The path aliases <code v-pre>@webroot</code> and <code v-pre>@web</code> are now available right after the application is initialized (qiangxue)</p>
</li>
<li>
<p>Enh #1921: Grid view <code v-pre>yii\grid\ActionColumn</code> now allow to name buttons like <code v-pre>{controller/action}</code> (creocoder)</p>
</li>
<li>
<p>Enh #1973: <code v-pre>yii message/extract</code> is now able to generate <code v-pre>.po</code> files (SergeiKutanov, samdark)</p>
</li>
<li>
<p>Enh #1984: <code v-pre>yii\base\ActionFilter</code> will now mark event as handled when action run is aborted (cebe)</p>
</li>
<li>
<p>Enh #2002: Added <code v-pre>filterWhere()</code> method to yii\db\Query to allow easy addition of search filter conditions by ignoring empty search fields (samdark, cebe)</p>
</li>
<li>
<p>Enh #2003: Added <code v-pre>filter</code> property to <code v-pre>yii\validators\ExistValidator</code> and <code v-pre>yii\validators\UniqueValidator</code> to support adding additional filtering conditions (qiangxue)</p>
</li>
<li>
<p>Enh #2008: <code v-pre>yii message/extract</code> is now able to save translation strings to database (kate-kate, samdark)</p>
</li>
<li>
<p>Enh #2043: Added support for custom request body parsers (danschmidt5189, cebe)</p>
</li>
<li>
<p>Enh #2051: Do not save null data into database when using RBAC (qiangxue)</p>
</li>
<li>
<p>Enh #2054: Added support for using custom application configuration with the console command runner (qiangxue)</p>
</li>
<li>
<p>Enh #2079:</p>
<ul>
<li>i18n now falls back to <code v-pre>en</code> from <code v-pre>en-US</code> if message translation isn’t found (samdark)</li>
<li>View now falls back to <code v-pre>en</code> from <code v-pre>en-US</code> if file not found (samdark)</li>
<li>Default <code v-pre>sourceLanguage</code> and <code v-pre>language</code> are now <code v-pre>en</code> (samdark)</li>
</ul>
</li>
<li>
<p>Enh #2101: Gii is now using model labels when generating search (thiagotalma)</p>
</li>
<li>
<p>Enh #2102: <code v-pre>yii\widgets\DetailView</code> now allow use <code v-pre>category.name</code> as attribute name (creocoder)</p>
</li>
<li>
<p>Enh #2102: <code v-pre>yii\widgets\DetailView</code> now allow use custom label in string format like <code v-pre>name![:format:](https://cdn.learnku.com/assets/images/emoji/format.png)label</code> (creocoder)</p>
</li>
<li>
<p>Enh #2103: Renamed <code v-pre>yii\web\AccessDeniedHttpException</code> to <code v-pre>yii\web\ForbiddenHttpException</code>, added new commonly used HTTP exception classes (danschmidt5189)</p>
</li>
<li>
<p>Enh #2124: Added support for UNION ALL queries (Ivan Pomortsev, iworker)</p>
</li>
<li>
<p>Enh #2132: Allow URL of CSS and JS files registered in yii\web\View to be URL alias (cebe)</p>
</li>
<li>
<p>Enh #2144: <code v-pre>Html</code> helper now supports rendering “data” attributes (qiangxue)</p>
</li>
<li>
<p>Enh #2156: <code v-pre>yii migrate</code> now automatically creates <code v-pre>migrations</code> directory if it does not exist (samdark)</p>
</li>
<li>
<p>Enh #2211: Added typecast database types into php types (dizews)</p>
</li>
<li>
<p>Enh #2240: Improved <code v-pre>yii\web\AssetManager::publish()</code>, <code v-pre>yii\web\AssetManager::getPublishedPath()</code> and <code v-pre>yii\web\AssetManager::getPublishedUrl()</code> to support aliases (vova07)</p>
</li>
<li>
<p>Enh #2325: Adding support for the <code v-pre>X-HTTP-Method-Override</code> header in <code v-pre>yii\web\Request::getMethod()</code> (pawzar)</p>
</li>
<li>
<p>Enh #2364: Take into account current error reporting level in error handler (gureedo)</p>
</li>
<li>
<p>Enh #2387: Added support for fetching data from database in batches (nineinchnick, qiangxue)</p>
</li>
<li>
<p>Enh #2392: Added <code v-pre>addCssStyle()</code>, <code v-pre>removeCssStyle()</code>, <code v-pre>cssStyleFromArray()</code> and <code v-pre>cssStyleToArray()</code> to <code v-pre>yii\helpers\Html</code> (qiangxue, kartik-v, Alex-Code)</p>
</li>
<li>
<p>Enh #2406: Added support for conditional validation (drenty, cebe, qiangxue)</p>
</li>
<li>
<p>Enh #2411: Added Gii extension generator (schmunk42)</p>
</li>
<li>
<p>Enh #2415: Added support for inverse relations (qiangxue)</p>
</li>
<li>
<p>Enh #2417: Added possibility to set <code v-pre>dataType</code> for <code v-pre>$.ajax</code> call in yii.activeForm.js (Borales)</p>
</li>
<li>
<p>Enh #2436: Label of the attribute, which looks like <code v-pre>relatedModel.attribute</code>, will be received from the related model if it available (djagya)</p>
</li>
<li>
<p>Enh #2490: <code v-pre>yii\db\Query::count()</code> and other query scalar methods now properly handle queries with GROUP BY clause (qiangxue)</p>
</li>
<li>
<p>Enh #2491: Added support for using the same base class name of search model and data model in Gii (qiangxue)</p>
</li>
<li>
<p>Enh #2499: Added ability to downgrade migrations by their absolute apply time (resurtm, gorcer)</p>
</li>
<li>
<p>Enh #2525: Added support for formatting file sizes with <code v-pre>yii\base\Formatter</code> (VinceG)</p>
</li>
<li>
<p>Enh #2526: Allow for null values in batchInsert (skotos)</p>
</li>
<li>
<p>Enh #2646: Added support for specifying hostinfo in the pattern of a URL rule (qiangxue)</p>
</li>
<li>
<p>Enh #2661: Added boolean column type support for SQLite (qiangxue)</p>
</li>
<li>
<p>Enh #2670: Changed <code v-pre>yii\console\Controller::globalOptions()</code> to <code v-pre>options($actionID)</code> to (make it possible to) differentiate options per action (hqx)</p>
</li>
<li>
<p>Enh #2714: Added support for formatting time intervals relative to the current time with <code v-pre>yii\base\Formatter</code> (drenty)</p>
</li>
<li>
<p>Enh #2726: Added <code v-pre>yii\db\ActiveRecord::loadDefaultValues()</code> that fills default values from DB schema (samdark)</p>
</li>
<li>
<p>Enh #2729: Added <code v-pre>yii\validators\FilterValidator::skipOnArray</code> so that filters like <code v-pre>trim</code> will not fail for array inputs (qiangxue)</p>
</li>
<li>
<p>Enh #2735: Added support for <code v-pre>DateTimeInterface</code> in <code v-pre>yii\i18n\Formatter</code> (ivokund)</p>
</li>
<li>
<p>Enh #2756: Added support for injecting custom <code v-pre>isEmpty</code> check for all validators (qiangxue)</p>
</li>
<li>
<p>Enh #2775: Added <code v-pre>yii\base\Application::bootstrap</code> and <code v-pre>yii\base\BootstrapInterface</code> to support running bootstrap classes when starting an application (qiangxue)</p>
</li>
<li>
<p>Enh #2892: ActiveRecord dirty attributes are now reset after call to <code v-pre>afterSave()</code> so information about changed attributes is available in <code v-pre>afterSave</code>-event (cebe)</p>
</li>
<li>
<p>Enh #2910: Added <code v-pre>yii\base\Application::end()</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added support for using arrays as option values for console commands (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>favicon.ico</code> and <code v-pre>robots.txt</code> to default project templates (samdark)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\base\Widget::autoIdPrefix</code> to support prefixing automatically generated widget IDs (qiangxue)</p>
</li>
<li>
<p>Enh: Support for file aliases in console command ‘message’ (omnilight)</p>
</li>
<li>
<p>Enh: Sort and Pagination can now create absolute URLs (cebe)</p>
</li>
<li>
<p>Enh: Added support for using array-typed arguments for console commands (qiangxue)</p>
</li>
<li>
<p>Enh: Added support for installing packages conforming to PSR-4 standard (qiangxue)</p>
</li>
<li>
<p>Enh: Better exception message when class cannot be loaded (samdark)</p>
</li>
<li>
<p>Enh: <code v-pre>init</code> of advanced application now allows to specify answer for overwriting files via <code v-pre>init --overwrite=n</code> (samdark)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\db\TableSchema::fullName</code> property (qiangxue)</p>
</li>
<li>
<p>Enh: <code v-pre>yii\codeception\TestCase</code> now supports loading and using fixtures via Yii fixture framework (qiangxue)</p>
</li>
<li>
<p>Enh: Added ability to get incoming headers (dizews)</p>
</li>
<li>
<p>Enh: Added <code v-pre>beforeRun()</code> and <code v-pre>afterRun()</code> to <code v-pre>yii\base\Action</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added support for using timeZone with <code v-pre>yii\base\Formatter</code> (dizews)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\web\View::POS_LOAD</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\web\Response::clearOutputBuffers()</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Improved <code v-pre>yii\db\QueryBuilder::buildLimit()</code> to support big numbers (qiangxue)</p>
</li>
<li>
<p>Enh: Added support for building SQLs with sub-queries (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\data\Pagination::getLinks()</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added support for reading page size from query parameters by <code v-pre>yii\data\Pagination</code> (qiangxue)</p>
</li>
<li>
<p>Enh: LinkPager can now register relational link tags in the html header for prev, next, first and last page (cebe)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\web\UrlRuleInterface</code> and <code v-pre>yii\web\CompositeUrlRule</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>yii\web\Request::getAuthUser()</code> and <code v-pre>getAuthPassword()</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added summaryOptions and emptyTextOptions to <code v-pre>yii\widgets\BaseListView</code> (johonunu)</p>
</li>
<li>
<p>Enh: Implemented Oracle column comment reading from another schema (gureedo, samdark)</p>
</li>
<li>
<p>Enh: Added support to allow an event handler to be inserted at the beginning of the existing event handler list (qiangxue)</p>
</li>
<li>
<p>Enh: Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>isAssociative()</code> and <code v-pre>isIndexed()</code> to <code v-pre>yii\helpers\ArrayHelper</code> (qiangxue)</p>
</li>
<li>
<p>Enh: Added <code v-pre>addSelect</code> to <code v-pre>yii\db\Query</code> (Alex-Code)</p>
</li>
<li>
<p>Enh: Added ODBC support in <code v-pre>yii\db\Connection</code> (nineinchnick, resurtm)</p>
</li>
<li>
<p>Chg #47: Changed Markdown library to cebe/markdown and adjusted Markdown helper API (cebe)</p>
</li>
<li>
<p>Chg #735: Added back <code v-pre>yii\widgets\ActiveField::hiddenInput()</code> (qiangxue)</p>
</li>
<li>
<p>Chg #1186: Changed <code v-pre>Sort</code> to use comma to separate multiple sort fields and use negative sign to indicate descending sort (qiangxue)</p>
</li>
<li>
<p>Chg #1519: <code v-pre>yii\web\User::loginRequired()</code> now returns the <code v-pre>Response</code> object instead of exiting the application (qiangxue)</p>
</li>
<li>
<p>Chg #1564: Removed <code v-pre>yii\web\Session::autoStart</code> and added <code v-pre>hasSessionId</code>. Session will be automatically started when accessing session data (qiangxue)</p>
</li>
<li>
<p>Chg #1586: <code v-pre>yii\db\QueryBuilder::buildLikeCondition()</code> will now escape special characters and use percentage characters by default (qiangxue)</p>
</li>
<li>
<p>Chg #1610: <code v-pre>yii\helpers\Html::activeCheckboxList()</code> and <code v-pre>Html::activeRadioList()</code> will submit an empty string if no checkbox/radio is selected (qiangxue)</p>
</li>
<li>
<p>Chg #1643: Added default value for <code v-pre>yii\captcha\Captcha::options</code> (qiangxue)</p>
</li>
<li>
<p>Chg #1796: Removed <code v-pre>yii\base\Controller::getActionParams()</code> (samdark)</p>
</li>
<li>
<p>Chg #1835: <code v-pre>yii\grid\CheckboxColumn</code> now renders checkboxes whose values are the corresponding data key values (qiangxue)</p>
</li>
<li>
<p>Chg #1821: Changed default values for yii\db\Connection username and password to null (cebe)</p>
</li>
<li>
<p>Chg #1844: <code v-pre>yii\web\Response::sendFile()</code> and other file sending methods will not send the response (qiangxue)</p>
</li>
<li>
<p>Chg #1852: <code v-pre>yii\db\Connection::tablePrefix</code> default value now <code v-pre>tbl_</code> (creocoder)</p>
</li>
<li>
<p>Chg #1958: <code v-pre>beforeSubmit</code> in <code v-pre>yii.activeform</code> is now executed after validation and before form submission (6pblcb)</p>
</li>
<li>
<p>Chg #2025: Removed ability to declare scopes in ActiveRecord (samdark)</p>
</li>
<li>
<p>Chg #2043:</p>
<ul>
<li>Renamed <code v-pre>yii\web\Request::acceptedLanguages</code> to <code v-pre>acceptableLanguages</code> (qiangxue)</li>
<li>Removed <code v-pre>yii\web\Request::getPost()</code>, <code v-pre>getPut()</code>, <code v-pre>getDelete()</code>, <code v-pre>getPatch()</code> in favor of <code v-pre>getBodyParam()</code> (cebe)</li>
<li>Renamed <code v-pre>yii\web\Request::get()</code> to <code v-pre>getQueryParams()</code> and <code v-pre>getRestParams()</code> to <code v-pre>getBodyParams()</code> (cebe)</li>
<li>Added <code v-pre>yii\web\Request::get($name = null, $defaultValue = null)</code> and <code v-pre>yii\web\Request::post($name = null, $defaultValue = null)</code> (samdark)</li>
</ul>
</li>
<li>
<p>Chg #2059: Implemented git-flavored file excluding/filtering for <code v-pre>yii\helpers\FileHelper</code> (nineinchnick)</p>
</li>
<li>
<p>Chg #2063: Removed <code v-pre>yii\web\Request::acceptTypes</code> and renamed <code v-pre>yii\web\Request::acceptedContentTypes</code> to <code v-pre>acceptableContentTypes</code> (qiangxue)</p>
</li>
<li>
<p>Chg #2103: Renamed <code v-pre>yii\web\AccessDeniedHttpException</code> to <code v-pre>yii\web\ForbiddenHttpException</code> (danschmidt5189)</p>
</li>
<li>
<p>Chg #2146: Removed <code v-pre>yii\db\ActiveRelation</code> class and <code v-pre>yii\db\ActiveRelationInterface</code>, moved the functionality to <code v-pre>yii\db\ActiveQuery</code>.</p>
<div class="language-php line-numbers-mode" data-highlighter="prismjs" data-ext="php" data-title="php"><pre v-pre class="language-php"><code><span class="line">       All relational queries are now directly served by <span class="token string backtick-quoted-string">`ActiveQuery`</span> allowing to <span class="token keyword">use</span> <span class="token package">custom</span> scopes in relations</span>
<span class="line">       <span class="token keyword">and</span> also to <span class="token keyword">declare</span> arbitrary queries <span class="token keyword">as</span> relations<span class="token operator">.</span></span>
<span class="line">       Also removed <span class="token string backtick-quoted-string">`yii\db\ActiveRecordInterface::createActiveRelation()`</span> <span class="token punctuation">(</span>cebe<span class="token punctuation">)</span></span>
<span class="line"></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></li>
<li>
<p>Chg #2157: The <code v-pre>*</code> category pattern will match all categories that do not match any other patterns listed in <code v-pre>yii\i18n\I18N::translations</code> (qiangxue, Ragazzo)</p>
</li>
<li>
<p>Chg #2161: Added ability to use <code v-pre>return</code> in <code v-pre>Widget::run</code> (samdark)</p>
</li>
<li>
<p>Chg #2173: Removed <code v-pre>yii\helpers\StringHelper::diff()</code>, Moved <code v-pre>phpspec/php-diff</code> dependency from <code v-pre>yiisoft/yii2</code> to <code v-pre>yiisoft/yii2-gii</code> (samdark)</p>
</li>
<li>
<p>Chg #2175: <code v-pre>yii\db\QueryBuilder</code> will now append UNION statements at the end of the primary SQL (qiangxue)</p>
</li>
<li>
<p>Chg #2210: MySQL driver will now treat <code v-pre>tinyint(1)</code> as integer instead of boolean (qiangxue)</p>
</li>
<li>
<p>Chg #2248: Renamed <code v-pre>yii\base\Model::DEFAULT_SCENARIO</code> to <code v-pre>yii\base\Model::SCENARIO_DEFAULT</code> (samdark)</p>
</li>
<li>
<p>Chg #2281: Renamed <code v-pre>yii\db\ActiveRecord::create()</code> to <code v-pre>populateRecord()</code> and changed signature. This method will not call instantiate() anymore (cebe)</p>
</li>
<li>
<p>Chg #2405: The CSS class of <code v-pre>yii\widgets\MaskedInput</code> now defaults to <code v-pre>form-control</code> (qiangxue)</p>
</li>
<li>
<p>Chg #2426: Changed URL creation method signatures to be consistent (samdark)</p>
</li>
<li>
<p>Chg #2516: Moved error handling from application to ErrorHandler class and fixed problems with HTTP Exception response code (cebe)</p>
<ul>
<li><code v-pre>Yii::$app-&gt;exception</code> has now moved to <code v-pre>Yii::$app-&gt;errorHandler-&gt;exception</code></li>
<li><code v-pre>yii\base\ErrorHandler</code> was split into <code v-pre>yii\web\ErrorHandler</code> and <code v-pre>yii\console\ErrorHandler</code></li>
</ul>
</li>
<li>
<p>Chg #2544: Changed <code v-pre>yii\widgets\DetailView</code>‘s <code v-pre>name![:format:](https://cdn.learnku.com/assets/images/emoji/format.png)label</code> to <code v-pre>attribute![:format:](https://cdn.learnku.com/assets/images/emoji/format.png)label</code> to match <code v-pre>GridView</code> (samdark)</p>
</li>
<li>
<p>Chg #2603: <code v-pre>yii\base\ErrorException</code> now extends <code v-pre>\ErrorException</code> (samdark)</p>
</li>
<li>
<p>Chg #2629: <code v-pre>yii\base\Module::controllerPath</code> is now read only, and all controller classes must be namespaced under <code v-pre>Module::controllerNamespace</code>. (qiangxue)</p>
</li>
<li>
<p>Chg #2630: API changes for URLs generation (samdark, qiangxue, cebe)</p>
<ul>
<li>Added <code v-pre>yii\helpers\Url</code>.</li>
<li>Removed <code v-pre>yii\helpers\Html::url()</code>, use <code v-pre>yii\helpers\Url::to()</code> instead.</li>
<li>Removed <code v-pre>yii\web\Controller::createUrl()</code> and <code v-pre>yii\web\Controller::createAbsoluteUrl()</code>, use <code v-pre>yii\helpers\Url::toRoute()</code> instead.</li>
<li>Removed <code v-pre>yii\web\Controller::getCanonicalUrl()</code>, use <code v-pre>yii\helpers\Url::canonical()</code> instead.</li>
</ul>
</li>
<li>
<p>Chg #2691: Null parameters will not be included in the generated URLs by <code v-pre>UrlManager</code> (gonimar, qiangxue)</p>
</li>
<li>
<p>Chg #2734: <code v-pre>FileCache::keyPrefix</code> defaults to empty string now (qiangxue)</p>
</li>
<li>
<p>Chg #2796: Removed <code v-pre>Application::preload</code> in favor of <code v-pre>Application::bootstrap</code> (qiangxue)</p>
</li>
<li>
<p>Chg #2816: Changed default date and time format of <code v-pre>yii\base\Formatter</code> to <code v-pre>Y-m-d</code> and <code v-pre>H![:i:](https://cdn.learnku.com/assets/images/emoji/i.png)s</code> (qiangxue)</p>
</li>
<li>
<p>Chg #2911: Removed <code v-pre>tbl_</code> default for table prefix (samdark)</p>
</li>
<li>
<p>Chg #2912: Relative view files will be looked for under the directory containing the view currently being rendered (qiangxue)</p>
</li>
<li>
<p>Chg #2955: Changed the signature of ActiveQuery constructors and replaced <code v-pre>yii\db\ActiveRecord::createQuery()</code> with <code v-pre>find()</code> to simplify customizing <code v-pre>yii\db\ActiveQuery</code> classes (qiangxue)</p>
</li>
<li>
<p>Chg #2999: Added <code v-pre>findOne()</code> and <code v-pre>findAll()</code> to replace the usage of <code v-pre>yii\db\ActiveRecord::find($condition)</code>. (samdark, qiangxue)</p>
</li>
<li>
<p>Chg #4204: <code v-pre>yii\web\Request::getUserIP()</code> will return null if it cannot detect user IP address (qiangxue)</p>
</li>
<li>
<p>Chg #4622: Simplified the way of creating a Faker fixture template file (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>yii\jui\Widget::clientEventsMap</code> to <code v-pre>clientEventMap</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>ActiveRecord::getPopulatedRelations()</code> to <code v-pre>getRelatedRecords()</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>attributeName</code> and <code v-pre>className</code> to <code v-pre>targetAttribute</code> and <code v-pre>targetClass</code> for <code v-pre>UniqueValidator</code> and <code v-pre>ExistValidator</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Added <code v-pre>yii\widgets\InputWidget::options</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Changed the signature of <code v-pre>urlCreator</code> and button creators for <code v-pre>yii\gridview\ActionColumn</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Updated HTMLPurified dependency to <code v-pre>4.6.*</code>.</p>
</li>
<li>
<p>Chg: Changed Yii autoloader to support loading PSR-4 classes only (i.e. PEAR-styled classes not supported anymore) (qiangxue)</p>
</li>
<li>
<p>Chg: Changed the directory structure according to PSR-4. You have to update your application <code v-pre>index.php</code>,</p>
<div class="language-php line-numbers-mode" data-highlighter="prismjs" data-ext="php" data-title="php"><pre v-pre class="language-php"><code><span class="line"> <span class="token string backtick-quoted-string">`index-test.php`</span> <span class="token keyword">and</span> <span class="token string backtick-quoted-string">`yii`</span> files to point to the <span class="token keyword">new</span> <span class="token class-name">location</span> of <span class="token string backtick-quoted-string">`Yii.php`</span> <span class="token punctuation">(</span>qiangxue<span class="token punctuation">,</span> cebe<span class="token punctuation">)</span></span>
<span class="line"></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div></div></div></li>
<li>
<p>Chg: Advanced app template: moved database connection DSN, login and password to <code v-pre>-local</code> config not to expose it to VCS (samdark)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>yii\web\Request::acceptedLanguages</code> to <code v-pre>acceptableLanguages</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Removed implementation of <code v-pre>yii\base\Arrayable</code> from <code v-pre>yii\base\Object</code> (qiangxue)</p>
</li>
<li>
<p>Chg: The scripts in asset bundles are now registered in <code v-pre>View</code> at the end of <code v-pre>endBody()</code>. It was done in <code v-pre>endPage()</code> previously (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>csrf-var</code> to <code v-pre>csrf-param</code> for CSRF header name (Dilip)</p>
</li>
<li>
<p>Chg: The directory holding email templates is renamed from <code v-pre>mails</code> to <code v-pre>mail</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed properties <code v-pre>fooVar</code> to <code v-pre>fooParam</code> for various classes (qiangxue)</p>
<ul>
<li>Renamed <code v-pre>yii\widgets\ActiveForm::ajaxVar</code> to <code v-pre>ajaxParam</code></li>
<li>Renamed <code v-pre>yii\data\Pagination::pageVar</code> to <code v-pre>pageParam</code></li>
<li>Renamed <code v-pre>yii\data\Sort::sortVar</code> to <code v-pre>sortParam</code></li>
<li>Renamed <code v-pre>yii\web\Request::csrfVar</code> to <code v-pre>csrfParam</code></li>
<li>Renamed <code v-pre>yii\web\Request::methodVar</code> to <code v-pre>methodParam</code></li>
<li>Renamed <code v-pre>yii\web\UrlManager::routeVar</code> to <code v-pre>routeParam</code></li>
<li>Renamed <code v-pre>yii\web\Session::flashVar</code> to <code v-pre>flashParam</code></li>
<li>Renamed <code v-pre>yii\web\User::idVar</code> to <code v-pre>idParam</code></li>
<li>Renamed <code v-pre>yii\web\User::authTimeoutVar</code> to <code v-pre>authTimeoutParam</code></li>
<li>Renamed <code v-pre>yii\web\User::returnUrlVar</code> to <code v-pre>returnUrlParam</code></li>
</ul>
</li>
<li>
<p>Chg: Added <code v-pre>yii\base\View::viewFile</code> and removed <code v-pre>yii\base\ViewEvent::viewFile</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Changed <code v-pre>yii\base\Controller::afterAction()</code>, <code v-pre>yii\base\Module::afterAction()</code> and <code v-pre>yii\base\ActionFilter::afterAction()</code> to pass <code v-pre>$result</code> by value instead of reference (qiangxue)</p>
</li>
<li>
<p>Chg: <code v-pre>yii\base\Extension::init()</code> is renamed to <code v-pre>bootstrap()</code> (qiangxue)</p>
</li>
<li>
<p>Chg: <code v-pre>getComponent()</code> and <code v-pre>setComponent()</code> in <code v-pre>yii\base\Application</code> and <code v-pre>yii\base\Module</code> are renamed to <code v-pre>get()</code> and <code v-pre>set()</code> respectively. (qiangxue)</p>
</li>
<li>
<p>Chg: The signature of <code v-pre>Yii::createObject()</code> is changed. Constructor parameters must be passed as the second parameter. (qiangxue)</p>
</li>
<li>
<p>Chg: <code v-pre>Yii::$objectConfig</code> is removed. You should use <code v-pre>Yii::$container-&gt;set()</code> to configure default settings of classes. (qiangxue)</p>
</li>
<li>
<p>Chg: Removed <code v-pre>yii\grid\Column::getDataCellContent()</code> and renamed <code v-pre>yii\grid\DataColumn::getDataCellContent()</code> to <code v-pre>yii\grid\DataColumn::getDataCellValue()</code> (cebe)</p>
</li>
<li>
<p>Chg: <code v-pre>yii\log\Logger</code> is split into <code v-pre>yii\log\Logger</code> and <code v-pre>yii\log\Dispatcher</code>. (qiangxue)</p>
</li>
<li>
<p>Chg: Moved all filter classes to namespace <code v-pre>yii\filters</code> (qiangxue)</p>
</li>
<li>
<p>Chg: Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped <code v-pre>yii\rbac\PhpManager</code>. (qiangxue)</p>
</li>
<li>
<p>Chg: Renamed <code v-pre>yii\web\User::checkAccess()</code> to <code v-pre>yii\web\User::can()</code> (qiangxue)</p>
</li>
<li>
<p>New #66: <a href="https://github.com/yiisoft/yii2-authclient" target="_blank" rel="noopener noreferrer">Auth client library</a> OpenId, OAuth1, OAuth2 clients (klimov-paul)</p>
</li>
<li>
<p>New #303: Added built-in support for REST API (qiangxue)</p>
</li>
<li>
<p>New #503: Added <code v-pre>yii\di\Container</code> and <code v-pre>yii\di\ServiceLocator</code> (qiangxue)</p>
</li>
<li>
<p>New #706: Added <code v-pre>yii\widgets\Pjax</code> and enhanced <code v-pre>yii\grid\GridView</code> to work with <code v-pre>Pjax</code> to support AJAX-update (qiangxue)</p>
</li>
<li>
<p>New #1393: <a href="https://github.com/yiisoft/yii2-codeception" target="_blank" rel="noopener noreferrer">Codeception testing framework integration</a> (Ragazzo)</p>
</li>
<li>
<p>New #1438: <a href="https://github.com/yiisoft/yii2-mongodb" target="_blank" rel="noopener noreferrer">MongoDB integration</a> ActiveRecord and Query (klimov-paul)</p>
</li>
<li>
<p>New #1956: Implemented test fixture framework (qiangxue)</p>
</li>
<li>
<p>New #2034: Added <code v-pre>yii\filters\ContentNegotiator</code> to support response format and language negotiation (qiangxue)</p>
</li>
<li>
<p>New #2149: Added <code v-pre>yii\base\DynamicModel</code> to support ad-hoc data validation (qiangxue)</p>
</li>
<li>
<p>New #2360: Added <code v-pre>AttributeBehavior</code> and <code v-pre>BlameableBehavior</code>, and renamed <code v-pre>AutoTimestamp</code> to <code v-pre>TimestampBehavior</code> (lucianobaraglia, qiangxue)</p>
</li>
<li>
<p>New #2932: Added <code v-pre>yii\web\ViewAction</code> that allow you to render views based on GET parameter (samdark)</p>
</li>
<li>
<p>New #2998: Added <code v-pre>yii\log\SyslogTarget</code> that is able to write log to syslog (miramir, samdark)</p>
</li>
<li>
<p>New #3029: Added <code v-pre>yii\bootstrap\ActiveForm</code> and <code v-pre>yii\bootstrap\ActiveField</code> (mikehaertl)</p>
</li>
<li>
<p>New #4640: Added <code v-pre>yii\widgets\ActiveForm::beginField()</code> and <code v-pre>endField()</code> (qiangxue)</p>
</li>
<li>
<p>New: Yii framework now comes with core messages translated into 26 languages, many thanks to all our translators!</p>
</li>
<li>
<p>New: Added <code v-pre>yii\codeception\DbTestCase</code> (qiangxue)</p>
</li>
<li>
<p>New: Added <code v-pre>yii\web\GroupUrlRule</code> (qiangxue)</p>
</li>
<li>
<p>New: Added <code v-pre>yii\filters\RateLimiter</code> (qiangxue)</p>
</li>
<li>
<p>New: Added various authentication methods, including <code v-pre>HttpBasicAuth</code>, <code v-pre>HttpBearerAuth</code>, <code v-pre>QueryParamAuth</code>, and <code v-pre>CompositeAuth</code> (qiangxue)</p>
</li>
<li>
<p>New: Added <code v-pre>yii\web\HtmlResponseFormatter</code> and <code v-pre>yii\web\JsonResponseFormatter</code> (qiangxue)</p>
</li>
</ul>
<h2 id="_2-0-0-alpha-december-1-2013" tabindex="-1"><a class="header-anchor" href="#_2-0-0-alpha-december-1-2013"><span>2.0.0-alpha December 1, 2013</span></a></h2>
<ul>
<li>
<p>Initial release.</p>
</li>
<li>
<p>Official extensions released in this version:</p>
<ul>
<li>
<p><a href="https://github.com/yiisoft/yii2-bootstrap" target="_blank" rel="noopener noreferrer">Twitter bootstrap 3.0</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-jui" target="_blank" rel="noopener noreferrer">Jquery UI</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-debug" target="_blank" rel="noopener noreferrer">Debug Toolbar</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-gii" target="_blank" rel="noopener noreferrer">Gii code generator</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-elasticsearch" target="_blank" rel="noopener noreferrer">Elasticsearch integration</a>: ActiveRecord and Query</p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-redis" target="_blank" rel="noopener noreferrer">Redis integration</a>: ActiveRecord, Cache and Session</p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-sphinx" target="_blank" rel="noopener noreferrer">Sphinx integration</a>: ActiveRecord and Query</p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-swiftmailer" target="_blank" rel="noopener noreferrer">Swiftmailer</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-smarty" target="_blank" rel="noopener noreferrer">Smarty View Renderer</a></p>
</li>
<li>
<p><a href="https://github.com/yiisoft/yii2-twig" target="_blank" rel="noopener noreferrer">Twig View Renderer</a></p>
</li>
</ul>
</li>
</ul>
<blockquote>
<p>💖喜欢本文档的，欢迎点赞、收藏、留言或转发，谢谢支持！<br>
作者邮箱：zhuzixian520@126.com，github地址：<a href="https://github.com/zhuzixian520" target="_blank" rel="noopener noreferrer">github.com/zhuzixian520</a></p>
</blockquote>
</div></template>


